1. 程式人生 > >[Git error] RPC failed; curl 18 transfer closed with outstanding read data remaining

[Git error] RPC failed; curl 18 transfer closed with outstanding read data remaining

clone 時遇到報錯:

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

參考:https://blog.csdn.net/it_liuchengli/article/details/77040806