Skip to content

Instantly share code, notes, and snippets.

@smakhtin
Created May 19, 2016 14:15
Show Gist options
  • Save smakhtin/3465b1d50e5db672123cfc9d4126b691 to your computer and use it in GitHub Desktop.
Save smakhtin/3465b1d50e5db672123cfc9d4126b691 to your computer and use it in GitHub Desktop.
Find big files in GIT
git rev-list --objects --all | grep "$(git verify-pack -v .git/objects/pack/*.idx | sort -k 3 -n | tail -10 | awk '{print$1}')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment