2

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

LeBlaireau
  • 17,133
  • 33
  • 112
  • 192

3 Answers3

4

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.

manojlds
  • 290,304
  • 63
  • 469
  • 417
2

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 git@github.com

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

Sebi
  • 8,323
  • 6
  • 48
  • 76
2

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

nickb
  • 2,870
  • 2
  • 25
  • 14