4

I am using Git in Visual Studio 2012 in Windows 8. Each and every time I want to commit and push my project on bit bucket it asks me for password. How do I save it permanently?

bob esponja
  • 4,093
  • 3
  • 31
  • 29
sapatelbaps
  • 484
  • 2
  • 8
  • 19
  • 3
    Related: [Git push requires username and password](http://stackoverflow.com/questions/6565357/git-push-requires-username-and-password), [Git keeps prompting me for password](http://stackoverflow.com/questions/7773181/git-keeps-prompting-me-for-password). [Is there a way to skip password typing when using https:// github](http://stackoverflow.com/questions/5343068/is-there-a-way-to-skip-password-typing-when-using-https-github). –  Sep 10 '13 at 01:31

1 Answers1

3

As mentioned in the related questions from @Cupcake's comment you could clone your repo using the SSH URL and use SSH keys for authentication. You can then cache the SSH key's password with Pageant.

The other option is to use credential helpers as described in this answer.

Community
  • 1
  • 1
bob esponja
  • 4,093
  • 3
  • 31
  • 29