git push error: RPC failed; result=22, HTTP code = 411

When doing a git push, I was getting the following error.

error: RPC failed; result=22, HTTP code = 411
fatal: The remote end hung up unexpectedly

This fixed it:

git config http.postBuffer 524288000

This entry was posted in git, Linux. Bookmark the permalink.

Comments are closed.