I am doing my best to follow this instruction for github back.
I created SSH keys twice, but ‘git push -u origin master’ keeps asking for my username/password… any help would be greatly appreciated!
I am doing my best to follow this instruction for github back.
I created SSH keys twice, but ‘git push -u origin master’ keeps asking for my username/password… any help would be greatly appreciated!
SOLVED - [from this link](https://stackoverflow.com/questions/8588768/how-do-i-avoid-the-specification-of-the-username-and-password-at-every-git-push/36955408)
I had to do this:
3. Set your remote URL to a form that supports SSH 1
If you have done the steps above and are still getting the password prompt, make sure your repo URL is in the form
git+ssh://[email protected]/username/reponame.git
as opposed to
https://github.com/username/reponame.git
To see your repo URL, run:
git remote show origin
You can change the URL with:
git remote set-url origin git+ssh://[email protected]/username/reponame.git