https方式每次都要输入密码,非常不爽
按照如下设置可只输入一次
记住密码(默认15分钟):
git config --global credential.helper cache
自己定义时间(一小时后失效):
git config credential.helper 'cache --timeout=3600'
永久存储密码:
git config --global credential.helper store
https方式每次都要输入密码,非常不爽
按照如下设置可只输入一次
记住密码(默认15分钟):
git config --global credential.helper cache
自己定义时间(一小时后失效):
git config credential.helper 'cache --timeout=3600'
永久存储密码:
git config --global credential.helper store
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。