Last active
September 13, 2022 10:54
-
-
Save rtyley/4202730 to your computer and use it in GitHub Desktop.
Gets the top 500 biggest blobs in your repo, ordered by size they occupy when compressed in the packfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git verify-pack -v .git/objects/pack/*.idx | grep blob | cut -c1-40,48- | cut -d' ' -f1,3 | sort -n -r --key 2 | head -500 > top-500-biggest-blobs.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it possible to display the file name of the blobs?
Merge with
git log --name-only
or something else, I don't know how to do this, can you please tell me how?