error: RPC failed; curl 18 transfer closed with outstanding read data remaining

报错:git

1 error: RPC failed; curl 18 transfer closed with outstanding read data remaining 2 fatal: The remote end hung up unexpectedly 3 fatal: 过早的文件结束符(EOF) 4 fatal: index-pack 失败

处理:curl

  究其缘由是由于curl的postBuffer的默认值过小,咱们须要调整它的大小,在终端从新配置大小

   在这里,笔者把postBuffer的值配置成500M,对笔者来讲已经够了。能够根据你须要下载的文件大小,将postBuffer值配置成合适的大小。

   git config --global http.postBuffer 524288000

   这样已经配置好了,若是你不肯定,能够根据如下命令查看postBuffer。

   git config --list

参考连接:http://www.javashuo.com/article/p-yrqflzvg-mh.htmlpost

相关文章
相关标签/搜索