1. 程式人生 > >git報錯:RPC failed; curl 18 transfer closed with outstanding read data remaining

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左右