List git object sizes
git rev-list --objects --all \ | |
| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' \ | |
| sed -n 's/^blob //p' \ | |
| sort -nrk2 \ | |
| cut -c 1-12,41- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment