Search code examples
gitbitbucketgit-push

git push failed The remote end hung up unexpectedly


error: RPC failed; result=56, HTTP code = 0
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

Just started getting this error today morning when trying to do a git push and it won't work. Other repos are good to go but not this one.
Git pull works. I am on Ubuntu if that helps.

Also tried this and it doesn't work either

git config --global http.postBuffer 524288000

Solution

  • There was one project folder that had photos which I had to remove. It took me a whole week+ to figure out since the project is under 100mb