S
S
shell_guy2022-01-14 17:56:06
linux
shell_guy, 2022-01-14 17:56:06

Why doesn't connecting to git via CLI work?

Good day!
I'm trying to connect to git
cd ~/.ssh
ssh-keygen -t rsa -b 4096 -C "my_username"
ssh-add ~/.ssh/id_rsa.pub
cat id_rsa.pub
added a public key to github, in the end it seems to be logged in but not working git remote -v
does not output anything,

although the commit works and seems to push, but nothing gets into the turnip ((
[[email protected] new]# git commit -a -m "test"
[master (root-commit) a5c01af] "test"
1 file changed, 0 insertions(+), 0 deletions(-)
create mode 100644 file1.txt

how to fix this?

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
A
A1EF, 2022-01-15
@A1EF

So does it push or miss? Where is the command output git push? What does it show git remote -v?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question