GIT Clone 代码的时候 报错 curl 18 transfer closed with outstanding read data remaining

GIT Clone 代码的时候 报错 curl 18 transfer closed with outstanding read data remaining

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

fatal: The remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

原因是: =库较大,curl的postBuffer 默认值较小的原因,配置下个这个值,就不会出现该错误了.

git config –global http.postBuffer 524288000 大小如果不够就继续增加。

git config –list查看配置是否ok

    原文作者:想要飞翔的企鹅
    原文地址: https://www.jianshu.com/p/1f800b8e15ac
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞