最近换了系统,安装好 git 在每次代码提交的时候总是提示要重复输入用户名和密码,可以通过以下两条命令来解决这个问题。
- 按项目设置
git config credential.helper store
- 全局设置
git config credential.helper store --global
最近换了系统,安装好 git 在每次代码提交的时候总是提示要重复输入用户名和密码,可以通过以下两条命令来解决这个问题。
git config credential.helper store
git config credential.helper store --global
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。