github "fatal: The remote end hung up unexpectedly" 解決方案

1. 代碼超過500M,修改postbuffer

git config --global http.postBuffer 524288000

2. 配置git的最低速度和最低速度時間

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

3. 若提示fatal: The remote end hung up unexpectedly | 7.00 KiB/s

      翻牆,或者重新push

如果以上都不好使,看下遠程連接GitHub時用的是不是http協議,如果是的話換成ssh

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章