Git

From VoIPmonitor.org
Revision as of 10:31, 28 January 2015 by Festr (talk | contribs) (Created page with "If you attempt to push a large set of changes to a Git repository with HTTP or HTTPS, you may get an error message such as error: RPC failed; result=22, HTTP code = 411. This ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

If you attempt to push a large set of changes to a Git repository with HTTP or HTTPS, you may get an error message such as error: RPC failed; result=22, HTTP code = 411. This is caused by a Git configuration default which limits certain HTTP operations to 1 megabyte. To change this limit run within your local repository

git config http.postBuffer *bytes*where bytes is the maximum number of bytes permitted. For exmaple:

git config http.postBuffer 524288000