Git clone error e.g

1.git报错: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

解决方法

Git config --global http.postBuffer 524288000

Git config --list

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

你可能感兴趣的:(Git clone error e.g)