github克隆报错

直接访问github网络不太好,可能就会使用Watt Toolkit类似工具代理一下。代理后clone会报一个ssl的错误,如下:

fatal: unable to access 'https://github.com/XXX.git/': SSL certi
ficate problem: unable to get local issuer certificate

解决方法,临时设置不校验ssl。

git config --global http.sslVerify false

为了安全,克隆完记得改回去。

posted @ 2024-11-07 21:00  断树绳  阅读(53)  评论(0)    收藏  举报