我正在尝试在 gitLab 中推送我的第一个项目,但出现此错误“致命:无法访问“https://.git”。 :SSL证书问题:无法获取本地颁发者证书"
最后我在这里找到了解决方案https://newbedev.com/invalid-ssl-certificate-when-pushing-to-git-server https://newbedev.com/invalid-ssl-certificate-when-pushing-to-git-server
阅读并进行设置后,您应该这样做
git config --system http.sslCAInfo "C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt"
在您要上传到 gitLab 的项目的根目录中,您应该执行以下操作
git config http.sslCAInfo "C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt"
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)