LeBlaireau
LeBlaireau

Reputation: 17467

github - asks for username and pass when it pushes/pulls

I have this issue, that I have to put this in every time I push or pull. I think this is new. Any ideas?

Upvotes: 2

Views: 2721

Answers (3)

nickb
nickb

Reputation: 2930

Switch from https to ssh - instructions from GitHub's help docs are here.

Upvotes: 2

manojlds
manojlds

Reputation: 301037

You are probably using the https url. Switch over to ssh and make sure your keys are setup fine ( and if you have empty pass phrase ) you should not have to enter the username and password.

Upvotes: 4

Sebi
Sebi

Reputation: 8953

Did you had this problem before? It most probably means you got something wrong in your public key setup. Make sure to not set a pass phrase while generating your public key. Also, make sure that you first try to login to GitHub using

ssh -T [email protected]

This should work without any passphrase. If it doesn't, check again the setup instructions for the operating system you are using.

Upvotes: 2

Related Questions