Can't Push 2.2GB Project on git

I am trying to push my project to git, I created a new repo but am unable to push my 2.2GB project into the repo. I tried to do it with the GUI which gave the following error:
image

then I tried to push it through CLI and got the following error

Administrator@HauntedPC MINGW64 /c/UnrealProjects/HauntedProject (master)
$ git push --all -u
Enumerating objects: 2561, done.
Counting objects: 100% (2561/2561), done.
Delta compression using up to 4 threads
Compressing objects: 100% (2516/2516), done.
error: RPC failed; HTTP 500 curl 22 The requested URL returned error: 500
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (2561/2561), 2.17 GiB | 1.44 MiB/s, done.
Total 2561 (delta 540), reused 0 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date

I tried:

  1. Increasing timeout
git config http.lowSpeedLimit 0
git config http.lowSpeedTime 999999
  1. Increasing git buffer size
git config http.postBuffer 524288000

Nothing worked and errors remain the same.

Hi! Did you get this fixed? If so, could you share how? I’m having the same issue. Thanks.

Its not a latency issue between you and GIT?

I have stable 1 Gbps connection and I’ve tried multiple times, it always fails at 98%. So it’s definitely not a latency issue.

A 500 error is a server error. Wherever you are pushing the commit to is closing the connection early for some reason.

If you are pushing to Github, there is a 2 GB limit per commit:

It also looks like you aren’t using Git LFS. I highly recommend using it.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.