Skip to content

Instantly share code, notes, and snippets.

@paulogr
Created February 4, 2018 02:32
Show Gist options
  • Save paulogr/df1a6358d98de98b07cc7e6b2647fbba to your computer and use it in GitHub Desktop.
Save paulogr/df1a6358d98de98b07cc7e6b2647fbba to your computer and use it in GitHub Desktop.
Get top 20 changed files of a git repository
git log --pretty=format: --name-only | sort | uniq -c | sort -rg | head -20
@paulogr
Copy link
Author

paulogr commented Feb 4, 2018

Pretty useful to understand large codebases

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment