I tried to push my local repo to my origin branch on Bitbucket, and kept failing to push it. The error shows like below.
Counting objects: 2309, done.
Delta compression using up to 4 threads.
Connection to bitbucket.org closed by remote host.
fatal: The remote end hung up unexpectedly
Compressing objects: 100% (2295/2295), done.
error: pack-objects died of signal 13
error: failed to push some refs to ....
I already tried
git config http.postBuffer 5242880
and the result showed the same error. I also tried to change my setting from https to ssh, but still there was the same error.
I guess it may be because I push large files to my remote repository. I have not requested any updates for one month, and only done pull requests to update my local repo.