Easy Credential Caching for Git
A common question since launching our Git support is whether there is a way to cache your username and password so you don’t have to enter it on every push. Well thanks to Andrew Nurse from the ASP.Net team, there is now a great solution for this!
Credential Caching in Windows to the Rescue
Using the Git extension point for credential caching, Andrew created an integration into the Windows Credentials store. After installing git-credential-winstore instead of getting that standard prompt for a username/password, you will get a Windows Security prompt.
From here your credentials for CodePlex will be stored securely within the Windows Credential Store.
Setup
The setup is pretty easy. Download the application from Andrew's git-credential-winstore project. Launch the executable and select yes to have it prompt for credentials. That's it.
Make sure you are running the latest version of msysgit, since the credential's API is fairly new.
Thanks to Andrew for sharing his work. If you have suggestions or improvements you can fork the code here.
Comments
Anonymous
July 19, 2012
Ahh, that can be time-savior, I hate to re-enter password every time. Rajiv javarevisited.blogspot.inAnonymous
June 15, 2013
Good to go.Anonymous
September 09, 2014
For msysgit 1.8.1 and above: The wincred helper was added in msysgit 1.8.1. Use it as follows: git config --global credential.helper wincredAnonymous
October 31, 2014
But does that create a security issue. <a href="http://mailbox2056.blogspot.in">mailbox2056.blogspot.in</a>Anonymous
December 24, 2014
hmmmm its gud
instanceofjavaforus.blogspot.in
Anonymous
May 12, 2015
I am not able to install git setup can u please help me ?Anonymous
May 12, 2015
not able to install git. Error :- to run this application, you first must install one of the following versions of the .net framework v4.0.30319 Content your application publisher for instruction about obtaining the appropriate version of .net framework.