The repo needs repacking, I emailed GitHub support for this. They did it a couple of year ago and the repo size got divided by two.
I tried locally right now to run git repack -a -d -f --depth=250 --window=250 and the size of the .git folder went from 2417MB to 943MB…
It’d be nice if they would do this periodically for large repos.
For reference: https://support.github.com/ticket/personal/0/1673689 (I’m not sure if it is accessible to everyone in the LLVM org)
5 Likes