Git push gives me Fatal: the more end hung up expectedly

I was able to clone this repository , add , commit and push files from this repo smaller in size but once I have added larger files at once (300 MB repo size) the git push fails and gives me the below error, any help is appreciated

ERROR ----------------------
git push origin kt/DEV-1115
Enumerating objects: 14156, done.
Counting objects: 100% (14156/14156), done.
Delta compression using up to 12 threads
Compressing objects: 100% (10921/10921), done.
send-pack: unexpected disconnect while reading sideband packet
Connection to github.com closed by remote host.
fatal: the remote end hung up unexpectedly

1 Like

GitHub blocks files larger than 100 MB:

IIRC there’s also a size limit for each push, but I can’t find it in the docs right now. :sweat_smile:

1 Like

After it had failed the first time when I tried adding all files at once, later I even tried pushing the files in small chunks but that also gave me the same error.

1 Like