Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pushing to GitHub stuck on “Writing Objects: 100%”

I'm using TortoiseGit on Windows to push to GitHub. The version of TortoiseGit and msysgit are all up to date. However someone said the recent version of msysgit is buggy so I downgraded it to v1.7.3.

git.exe push --thin --progress  "origin" master:master
Counting objects: 167, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (152/152), done.
Writing objects: 100% (166/166), 64.45 MiB | 2.33 MiB/s, done.
Total 166 (delta 39), reused 0 (delta 0)

It hangs up here. After I deleted some large files (no larger than 100MB) the problem disappeared.

like image 389
user2994820 Avatar asked Aug 12 '26 05:08

user2994820


1 Answers

The "What is my disk quota?" GitHub help page does mention:

we place a strict limit of files exceeding 100 MB in size

It is possible it manifests by an incomplete push, even though you should see a more explicit warning:

GitHub warns you when you push a file larger than 50 MB. We'll reject pushes containing files larger than 100 MB

A tool like BFG Repo-Cleaner can help you get rid of large files in your local repo history.

like image 57
VonC Avatar answered Aug 13 '26 19:08

VonC



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!