开发者

Cache http git passwords in windows: mysysgit

Git: How 开发者_如何转开发can I cache password locally in windows machine. I have mysysgit and tortoisegit

Edit:

I use https


In 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜