git報錯,遠程克隆和更新不下來解決方法


報錯:

error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed

 

解決方法:更改buffer大小
Git config --global http.postBuffer 524288000

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

然后增加最低速度時間

git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM