How to git push from terminal using SSH?? #161755
-
I'm new to github, and I cannot figure out how to push a repository to github using
Thanks in advance for helping 💖 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Since you have already tried some stuff, I'm guessing you know how to use git properly and also commands to push to origin. The issue could be either you don't have a repository with the same name in your GitHub account, or your SSH isn't set up. Let me explain in the simplest way to fix this:
Now you should be able to use
Make your changes, commit, then try |
Beta Was this translation helpful? Give feedback.
Since you have already tried some stuff, I'm guessing you know how to use git properly and also commands to push to origin. The issue could be either you don't have a repository with the same name in your GitHub account, or your SSH isn't set up. Let me explain in the simplest way to fix this:
ssh-keygen -t ed25519 -C "<[email protected]>"
type %userprofile%\.ssh\id_ed25519.pub
cat ~/.ssh/id_ed25519.pub
ssh-ed25519...
)Settings
>SSH and GPG keys
or click hereNew SSH key
and paste the output in the input-box.Now you should be able to use
git push…