美文网首页
GIT Clone 代码的时候 报错 curl 18 trans

GIT Clone 代码的时候 报错 curl 18 trans

作者: 想要飞翔的企鹅 | 来源:发表于2017-10-30 09:42 被阅读754次

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

相关文章

网友评论

      本文标题:GIT Clone 代码的时候 报错 curl 18 trans

      本文链接:https://www.haomeiwen.com/subject/heqppxtx.html