问题解决:git克隆时出现error: RPC failed; curl 18 transfer closed with outstanding read data remain

报错的时候在网络上搜解决方法,大部分人认为是因为clone的文件过大,curl的postBuffer的默认缓存值太小

使用git config --global http.postBuffer 524288000修改默认值到500m

命令查看配置好的值postBuffer。

   git config --list

 

以上方法应该是有效的,但是有趣的是我再查找解决办法之后,还未使用,再次

git clone https://github.com/MiuMiu-S/Imitate-JD-use-WeChat-applet.git(此处指clone的url)

自己就clone完成了。

我猜和网速有些关联吧。git的使用,网速好坏有很大不同

 

相关文章:

  • 2022-02-07
  • 2021-04-28
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-07-30
  • 2021-12-20
  • 2021-09-06
  • 2022-12-23
相关资源
相似解决方案