報錯: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