error: RPC failed; 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

在这里插入图片描述
说明pull的文件过大,需要增大缓存
执行以下操作:
git config --global http.postBuffer 524288000

git config --list查看是否生效
重新git clone 即可成功

需要注意的是http.postBuffer 后,单位是b,524288000B也就500M左右

你可能感兴趣的:(error: RPC failed; curl 18 transfer closed with outstanding read data remaining)