标签:
Google了一把,发现原来默认Git设置http post的缓存为1M,相关资料如下:
https://bitbucket.org/marcinkuzminski/rhodecode/issue/495/git-repositories-much-bigger-when-hosted
http://stackoverflow.com/questions/2702731/git-fails-when-pushing-commit-to-github
解决方法: 增加http post缓存, 如果使用git命令,设置参数命令如下:
#增加为 500MB git config http.postBuffer 524288000
如果使用的是Eclipse Git插件,则需要在 Window -> Preferences 中找到 Team -> Git -> Configuration 配置界面,在System Settings Tab页中 点击 “Add Entry…” 按钮来添加一个配置项:
key为: http.postBuffer value为:524288000
Read more: http://blog.chengyunfeng.com/?p=488#ixzz3gW0N7W4W
Git Push错误“Error writing request body to server”
标签:
原文地址:http://my.oschina.net/u/1410320/blog/488501