VirtualTam's bookmarks
Page 1 of 1
-
- https://stackoverflow.com/questions/10622179/how-to-find-identify-large-commits-in-git-history
- https://stackoverflow.com/questions/223678/which-commit-has-this-blob
1git rev-list --objects --all \ 2| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \ 3| sed -n 's/^blob //p' \ 4| sort --numeric-sort --key=2 --reverse \ 5| head -n 150 \ 6| cut -c 1-12,41- \ 7| $(command -v gnumfmt || echo numfmt) --field=2 --to=iec-i --suffix=B --padding=7 --round=nearest
Page 1 of 1