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

最后就成功克隆了。

猜你喜欢

转载自blog.csdn.net/weixin_45703155/article/details/117875024