美文网首页
git Windows HTTP免密登录

git Windows HTTP免密登录

作者: 前端进城打工仔 | 来源:发表于2019-08-21 15:04 被阅读0次

Windows上的配置

机器:Windows上开发代码
代码库:gitlab/github
提前设置

git config --global http.sslVerify false
git config --system http.sslCAPath ~/.git-credentials

Mac上似乎不需要配置上面的内容

git-credentials的内容

~/.git-credentials的内容

https://用户名:密码@github.com
https://用户名:密码@gitlab.com

之后再去做git操作就不需要再次认证了。

参考:
SSL certificate problem: Unable to get local issuer certificate

相关文章

网友评论

      本文标题:git Windows HTTP免密登录

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