3 ms·
I was really taken aback by this given my previous experience with the Linux kernel git repo size. So, I just checked out Graal. Receiving objects: 100% (98137
by cmurphycode 6y ago
I was really taken aback by this given my previous experience with the Linux kernel git repo size. So, I just checked out Graal.
Receiving objects: 100% (981372/981372), 187.08 MiB | 6.39 MiB/s, done.
% du -sh graal
328M graal
% du -sh .git
221M .git
And that includes many binary files that were added and removed over time, but not filter-branched out of existence, including jars, pngs, pdfs :)
(https://stackoverflow.com/questions/10622179/how-to-find-identify-large-commits-in-git-history https://stackoverflow.com/questions/10622179/how-to-find-ide...)
- chrisseaton 6y agoHuh... maybe I have a degenerate copy for having it so long and I should try running the compression commands myself.
- lathiat 6y agoSee also “git prune” to remove references to branches and objects no longer on the remote server. Check the docs though I think in some cases I might delete local branches or objects so make a backup first.