Skip to content

Instantly share code, notes, and snippets.

@microo8
Created April 4, 2017 04:49
Show Gist options
  • Save microo8/596610b66b1e8c015e4fca9e4bb144ed to your computer and use it in GitHub Desktop.
Save microo8/596610b66b1e8c015e4fca9e4bb144ed to your computer and use it in GitHub Desktop.
snipet to create an alias that will print out 10 most edited files in an git repository
alias gitmost="git log --since=\"120 days ago\" --pretty=format:\"\" --name-only | grep \"[^\s]\" | sort | uniq -c | sort -nr | head -10"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment