在windows中缓存http git密码:mysysgit

Qui*_*Par 5 git version-control

Git:如何在Windows机器中本地缓存密码.我有mysysgit和tortoisegit

编辑:
我使用https

Mar*_*air 5

最近的回答中,VonC指出您可以将您访问的特定主机的用户名和密码放在主目录中https调用的文件_netrc中,git将使用它们进行HTTP传输.例如,如果您尝试访问URL引用的存储库https://you@github.com/you/project.git,则应将以下内容放入_netrc:

machine github.com
  login you
  password yourpassword
Run Code Online (Sandbox Code Playgroud)