I have been trying to push changes to git, but it fails everytime giving error
$ git push
Enumerating objects: 57, done.
Counting objects: 100% (57/57), done.
Delta compression using up to 8 threads
Compressing objects: 100% (42/42), done.
Writing objects: 100% (44/44), 23.07 MiB | 30.21 MiB/s, done.
Total 44 (delta 25), reused 0 (delta 0), pack-reused 0
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
send-pack: unexpected disconnect while reading sideband packet
fatal: the remote end hung up unexpectedly
Everything up-to-date
I use these commands:
git init
git add .
git commit -m 'upgrade'
git push
I tried:
git config --global http.postBuffer 524288000
but it hasn't worked too. What should I do now?