Git Error - Fatal: the Remote End Hung Up Unexpectedly
·126 words·1 min
When you push commits to git, you sometimes might get into this error. I got this when pushing hugo code into git.
git push -u origin main Enumerating objects: 61, done. Counting objects: 100% (61/61), done. Delta compression using up to 4 threads Compressing objects: 100% (45/45), done. error: RPC failed; HTTP 400 curl 22 The requested URL returned error: 400 send-pack: unexpected disconnect while reading sideband packet Writing objects: 100% (54/54), 2.07 MiB | 5.37 MiB/s, done. Total 54 (delta 14), reused 0 (delta 0), pack-reused 0 (from 0) fatal: the remote end hung up unexpectedly This is caused by git buffer settings. Run: