git clone 拉取文件过大 error: RPC failed; curl 18 transfer closed with outstanding read data remaining
remote: Counting objects: 34438, done. remote: Compressing objects: 100% (24840/24840), done. error: RPC failed; curl 18 transfer closed with outstanding read data remaining fatal: The remote end hung up unexpectedly fatal: 过早的文件结束符(EOF) fatal: index-pack failed
原因是因为git上的文件过大,超过curl缓冲,clone不成功
解决方法
git config --global http.postBuffer 24288000
发表回复