I have a 2MB of files. I created a repository. I setup the upstream url on my local dev environment. Everything goes well when I pull down or clone the empty repository I created until I try to add the 2MB of files and push them to the remote end.
I thought at first it might be the problem of the repository provider. I tried with bitbucket, gitlab and then finally github. But the same error :( so disappointing. Here is what I see in all the three cases.
Counting objects: 52, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (48/48), done.
Writing objects: 100% (52/52), 2.16 MiB | 0 bytes/s, done.
Total 52 (delta 4), reused 0 (delta 0)
error: RPC failed; result=56, HTTP code = 200
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date
I tried using the https protocol instead of ssh. I also tried to extend the postBuffer setting. But none of them helped.
I tried suggestions from this answer and I found the following error:
Counting objects: 52, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (48/48), done.
packet_write_wait: Connection to 192.30.252.130: Broken pipe
fatal: The remote enfatal: sha1 file '<stdout>' write error: Broken pipe
d hung up unexpectedly
error: failed to push some refs to 'git@github.com:merhawifissehaye/gunadefault.git'
I also tried the accepted answer from this question and got the following error:
Counting objects: 52, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (48/48), done.
packet_write_poll: Connection to 192.30.252.128: Broken pipe
fatal: sha1 file '<stdout>' write error: Bfatal: roken pipe
The remote end hung up unexpectedly
error: failed to push some refs to 'git@github.com:merhawifissehaye/gunadefault.git'
The only difference see from the previous error is the Bfatal error. I don't know if that means anything.