git push 的时候报错以下:缓存
将分支推送到远程存储库时遇到错误:Git failed with a fatal error,
the romote end hung up unexpectedly
RPC failed;HTTP 411 curl 22 The requested URL returned error :411bash
查找错误缘由:
执行以下命令,打开git 帮助页面:curl
$ git config --help
搜http.postBuffer,
post
缘由:缓存值过小,远程便捷HTTP传输请求数据时最大的缓存字节数,默认时1M字节.url
执行以下命令:将传输缓存设为500Mcode
$ git config http.postBuffer 524288000
进入本地项目下的.git文件夹,编辑config文件,将postBuffer设为 524288000;
blog