git clone 新项目时,报error: RPC failed; curl 18 transfer closed with outstanding read data remaining

2023-05-25,,


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 Bash Here 中执行该 git config --global http.postBuffer 524288000 命令,
可以通过这个命令查看是否配置成功 git config --list
然后再执行git pull 或者 git clone命令。

git clone 新项目时,报error: RPC failed; curl 18 transfer closed with outstanding read data remaining的相关教程结束。

《git clone 新项目时,报error: RPC failed; curl 18 transfer closed with outstanding read data remaining.doc》

下载本文的Word格式文档,以方便收藏与打印。