Problem
While trying to push to my project on gitlab.com in PhpStorm, I get the following error:
fatal: The remote end hung up unexpectedly
error: failed to push some refs to 'https://gitlab.com/me/myrepo.git'
I don't see any other error messages like on other peoples similar questions.
What I've tried
I tried pushing via the terminal as well with git push origin master
but to no avail. I also tried some of the things I saw on similar questions like changing the http buffer: git config http.postBuffer 524288000
. That, unfortunately, didn't change the result either.
What I also tried is creating a new project and pushing to that new origin, which yielded other error messages. I also tried changing to ssh
, but when pushing the push button it wants to push all commits that were ever made. I wasn't sure if that was a good idea, so I didn't try it.
This is what comes when trying to git pull --rebase
:
git pull --rebase
error: merge-base died of signal 11
error: fetch died of signal 11
also happens with full syntax git pull --rebase origin master
.
Setup
I am using PhpStorm and have 17 commits that need to be pushed, since I've been having this problem for a while. My repo is a project on gitlab.com.
git --version
git version 2.17.0
Turns out it was a bug in my git installation, at least that's what I believe. After I got an update, the problem was gone.