Git 克隆项目失败10054

我们经常使用git,但是在克隆一些项目时,报错如下:

git clone https://github.com/top-think/framework thinkphp

报错如下:

fatal: unable to access ‘https://github.com/top-think/framework/’: OpenSSL SSL_read: Connection was reset, errno 10054

可能会搜索到https代理问题,改配置文件。其实只要把上面命令改为如下:

git clone git://github.com/top-think/framework thinkphp

最后就成功克隆了。


版权声明:本文为weixin_45703155原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。