1500字范文,内容丰富有趣,写作好帮手!
1500字范文 > fatal: unable to access ‘https://gitee.com/xxx.git/‘: SSL certificate problem:

fatal: unable to access ‘https://gitee.com/xxx.git/‘: SSL certificate problem:

时间:2021-05-07 01:40:44

相关推荐

fatal: unable to access ‘https://gitee.com/xxx.git/‘: SSL certificate problem:

早上上班打开电脑,按照惯例更新一下代码,嗯?怎么更新不了了呢!换个项目试试,哎?!怎么还不行,还报错fatal: unable to access 'xxx.git/': SSL certificate problem: certificate has expired

当即就开始找解决方案,有网友说输入这行代码就好了:

git config –global http.sslVerify false,结果呢报了一个新的错误:fatal: not in a git directory,真让人头大!但!在第一次输入的时候有一行提示error: did you mean `--global` (with two dashes ?)

难道是要输入 -- ?试一试,还真的行,我的天!

解决方案:

git config --global http.sslVerify false

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。