`
yeelor
  • 浏览: 408739 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

Git Push错误“Error writing request body to server”

    博客分类:
  • Git
 
阅读更多

默认Git设置http post的缓存为1M

 

解决方法:
增加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



 

相关文章:http://support.deveo.com/knowledgebase/articles/188200-git-push-over-https-with-large-changesets

分享到:
评论
1 楼 java_feishen 2016-11-20  
Eclipse 的 Window -> Preferences 中找到 Team -> Git -> Configuration > System Setting后“Add Entry”按钮为灰色的无法点击.
Location框中显示 Unknown,点击"Browse..."按钮后选择文件夹,但是保错:“This directory does not look like a Git installation directory.  You do not need this setting unless you have a system wide configuration file.”
所以,没办法添加这个设置呀。

相关推荐

Global site tag (gtag.js) - Google Analytics