本文主要是介绍git clone 问题 error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal:,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
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的默认值太小
把postBuffer的值配置成500M,可以根据你需要下载的文件大小,将postBuffer值配置成合适的大小。
git config --global http.postBuffer 524288000
根据以下命令查看postBuffer。
git config --list
这篇关于git clone 问题 error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal:的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!