当前位置:   article > 正文

pod添加第三方库的时候出现error: RPC failed; curl 18 transfer closed with outstanding read data remaining_remote: enumerating objects: 111, done. rpc failed

remote: enumerating objects: 111, done. rpc failed; curl 18 transfer clos

git clone 出现的错误:

remote: Counting objects: 1111, done.

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

 

原因:git 库源文件过多,修改下默认值即可。curl的postBuffer 默认值较小,配置下个这个值,就OK了!

 

配置如下:

$ git  config --global http.postBuffer 24288000

$ git config --list

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小蓝xlanll/article/detail/707472
推荐阅读
相关标签
  

闽ICP备14008679号