git clone 报错 10054

今天来拉去代码突然报错

error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

 

 

 

 

 

 

 明明都拉取完了,结果因为报错全删了,查询了很多网上资料都是 以下三个

git init
git config http.postBuffer 524288000
git config http.sslVerify "false" 

试了这几个都是不能clone下来的

解决方法:

git clone --depth 1 yourUrl b 

把yourUrl替换成你的url即可。

记录一下避免以后再遇到。

 

posted @ 2022-01-22 11:00  fanjiajia  阅读(663)  评论(0)    收藏  举报