Loading...
November 6, 2012#

How to solve Git push fails with ‘fatal: The remote end hung up unexpectedly’

Just experienced this error myself when I was going to push a pretty big project onto bitbucket.

Luckily, this can be solved easily. I found a solution on Stash Knowledge Base

Basically, set your POST buffer to be large enough to contain your project.

git config http.postBuffer 524288000

After that, pushing it to the server again should be no problem.