美文网首页
git https协议设置不重复输入密码拉取

git https协议设置不重复输入密码拉取

作者: 小哥哥吖Q | 来源:发表于2020-01-10 16:09 被阅读0次

git https协议设置不重复输入密码拉取

git使用https时,若出现SSL证书问题,可以按如下忽略:

git config --global http.sslVerify false

然后配置免密码登陆:

git config --global credential.helper store

再次pull或者push时,会重新让你输入用户名密码,输入一次之后即可更新本地保存的。

如果修改了git密码,则会报错。此时执行:

git config --global user.passwd "你的新密码即可"

然后git pull 或者 git push 就好了

如果帮助到你随手给一个喜欢作为我继续分享的动力 

相关文章

网友评论

      本文标题:git https协议设置不重复输入密码拉取

      本文链接:https://www.haomeiwen.com/subject/ecqmactx.html