git clone 报错

163 阅读1分钟

git clone 报错

fatal: unable to access ‘github.com/…’: OpenSSL SSL_read: Connection was reset, errno 10054

【产生原因】一般是因为服务器的SSL证书没有经过第三方机构的签署,所以才报错

【解决方式】解除ssl验证后,再次git即可

git config --global http.sslVerify false

全局安装yarn

npm install -g yarn --registry=registry.npm.taobao.org

yarn config set registry registry.npmmirror.com/

Git地址下载:

git-scm.com/downloads

gitforwindows.org/

registry.npmmirror.com/binary.html… 阿里镜像