Skip to content

Instantly share code, notes, and snippets.

@d-imal
Created May 9, 2012 13:00
Show Gist options
  • Save d-imal/2644333 to your computer and use it in GitHub Desktop.
Save d-imal/2644333 to your computer and use it in GitHub Desktop.
Git Blame Stats
git ls-tree -r HEAD|gsed -re 's/^.{53}//'|while read filename; do file "$filename"; done|grep -E ': .*text'|gsed -r -e 's/: .*//'|while read filename; do git blame "$filename"; done|gsed -r -e 's/.*\((.*)[0-9]{4}-[0-9]{2}-[0-9]{2} .*/\1/' -e 's/ +$//'|sort|uniq -c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment