Git: How 开发者_如何转开发can I cache password locally in windows machine. I have mysysgit and tortoisegit
Edit:
I use httpsIn a more recent answer, VonC points out that you can put your username and password for a particular host that you access over https
in a file called _netrc
in your home directory, and git will use them for the HTTP transport. For example, if you're trying to access the repository referred to by the URL https://you@github.com/you/project.git
, you would put the following in _netrc
:
machine github.com
login you
password yourpassword
You can install git-credential-winstore to save git passwords in Windows credentials manager
Since msysgit 1.8.0, there is also a built-in credential helper program git-credential-wincred
, which does not require .NET framework.
However, it is missing from current installation package.
精彩评论