windows:
在 .git/config 文件中加入
[http]
postBuffer = 524288000
linux或max執(zhí)行命令:
git config http.postBuffer 524288000
如果還是不行,那可能是網(wǎng)絡(luò)比較緩慢情況下屡久,就斷開(kāi)了看杭,執(zhí)行以下命令:
git config --global http.lowSpeedLimit 0
git config --global http.sslVerify false
git config --global http.lowSpeedTime 999999
增加最低速度時(shí)間,就可以了阅爽。