Fork me on GitHub

设置让TortoiseGit记住账号和密码

方法一:在"C:\Documents and Settings\Administrator\.gitconfig" 文件 或 "项目/.git/config"文件 里增加两行:

[credential]  
    helper = store  

设置好,再次输入用户名和密码之后,以后就不需要输入了。

 

方法二:设置 -> git 编辑本地 .git/config 增加

 

[credential]  
    helper = store  

 

posted @ 2015-11-16 14:12  磊哥|www.javacn.site  阅读(517)  评论(0编辑  收藏  举报