I am working with a repo on Github. Everytime I try to push something, it asks me for my github username and password. I tried instructions on this page, namely set up the git variables github.user and github.token, but that didn't make any difference. I don't understand why this is happening.
|
feedback
|
|
You need to set-up an ssh-agent against which you only need to authenticate once. See this answer over at SO for a howto. | |||||
feedback
|
|
Had a similar problem today: I messed things up in my working copy, so I decided to rename the directory and clone my project again from github. But after doing that, I had to enter my password to do any pull/push request, instead of entering the passphrase just once as I used to. That was because today I used the https protocol to clone the project! To check what protocol you're using just run
and look at the line starting with 'remote.origin.url'. To switch protocol:
Just my 2c | |||||||||||||
feedback
|
|
When you set up an ssh key for github, if it's not your default key, you will need to add a section to your
| |||
|
feedback
|