Git push 出錯 [The remote end hung up unexpectedly] - 簡書


one day,my teamate using git push and occured this error.

$ git push
Counting objects: 2332669, done .
Delta compression using up to 16 threads.
Compressing objects: 100% (360818 /360818 ), done .
error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly
Writing objects: 100% (2332669 /2332669 ), 483.30 MiB | 114.26 MiB /s , done .
Total 2332669 (delta 1949888), reused 2330461 (delta 1949349)
fatal: The remote end hung up unexpectedly

解決辦法(設置緩存):

git config http.postBuffer 524288000

參考:
http://my.oschina.net/pureboys/blog/202734?fromerr=pa8kQUqa


免責聲明!

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



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