使用tortoisegit简化命令

1. 如果希望git保存用户名和密码,后续操作都无需输入密码:
 
git命令: git config --global credential.helper store
或者通过tortoisegit修改:
随后进行提交或其他操作时输入一次账户和密码,后续就无需输入了。
 
 
2.设置凭证的缓存时间:
配置凭证到缓存 默认 15 分钟 。
git命令: git config --global credential.helper 'cache --timeout=3600'
 


猜你喜欢

转载自www.cnblogs.com/CattaC/p/9167837.html
今日推荐