现象 Git推送分支时,被中断,输出以下错误 error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500 原因分析 Git设置的通信缓存较小,对于数据量较大的分支,推送时缓存空间不够,导致传输中断 解决方法 全局增大Git通信缓存大小 git config --global http.postBuffer 524288000