git报错:RPC failed; curl 18 transfer closed with outstanding read data remaining

具体报错
fatal: The remote end hung up unexpectedly
error: RPC failed; curl 18 transfer closed with outstanding read data remaining

解决方法
Git config --global http.postBuffer 524288000

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

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