I followed everything in the GitHub tutorial: https://help.github.com/articles/generating-ssh-keys
I did all the commands in the directory of my repository. I reached th
Check your remote
s via git remote -v
.
https://
URLs will always ask for a password, unless you configure a credential helper. More info on that in this question.
The simplest solution for password-less git access would be to use the git remote set-url command and set an SSH url for the existing repo.
In your case, git remote set-url origin git@github.com:name/repo
.
Then you should be able to git push origin
without being asked for a password.