在使用Git中使用clone指令遇到的问题,做记载

1.问题发生

在使用clone指令

Cloning into 'myface'...
fatal: unable to access 'https://github.com/xxxxx': SSL certificate problem: unable to get local issuer certificate

2.解决方案

翻译:SSL证书问题:无法获得当地发行证书
一般是这是因为服务器的SSL证书没有经过第三方机构的签署,所以才报错。
关掉ssl验证,再次git clone即可

git config --global http.sslVerify false

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐