C盘坏了之后重新安装git,发现每次都要重新输入密码,找了很多资料都是说http模式换成ssh模式,看了同事的也是http模式,还有很多资料设置credential,亲测有效!
git config --global credential.helper store
tips:credential.helper中间没有空格
git操作 每次需要输入密码
最新推荐文章于 2024-05-22 11:35:43 发布
C盘坏了之后重新安装git,发现每次都要重新输入密码,找了很多资料都是说http模式换成ssh模式,看了同事的也是http模式,还有很多资料设置credential,亲测有效!
git config --global credential.helper store
tips:credential.helper中间没有空格