Git Push Error "error writing request body to server"

Source: Internet
Author: User

Google, found that the original default Git settings http Post cache is 1M, the relevant information is as follows:
  1. https://bitbucket.org/marcinkuzminski/rhodecode/issue/495/git-repositories-much-bigger-when-hosted

  2. Http://docs.webfaction.com/software/git.html

  3. https://openshift.redhat.com/community/kb/kb-e1035-git-push-throws-error-rpc-failed-result22-http-code-411

  4. Http://stackoverflow.com/questions/2702731/git-fails-when-pushing-commit-to-github

Workaround: Increase the HTTP POST cache, and if you use the GIT command, set the parameters command as follows:
#增加为 500MBgit config Http.postbuffer 524288000

If you are using the Eclipse git plugin, you will need to find the Team---Git configuration interface in Windows---Preferences, and click "A" in the System Settings tab page. DD Entry ... " button to add a configuration item:

Key: Http.postbuffervalue is: 524288000



Read more:http://blog.chengyunfeng.com/?p=488#ixzz3gw0n7w4w


Git Push Error "error writing request body to server"

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.