Skip to content

Instantly share code, notes, and snippets.

@piotrpersona
Created August 5, 2020 11:38
Show Gist options
  • Save piotrpersona/035f610de29ea13458806c2e2b9960b6 to your computer and use it in GitHub Desktop.
Save piotrpersona/035f610de29ea13458806c2e2b9960b6 to your computer and use it in GitHub Desktop.
git ls-files -z | xargs -0n1 git blame -w | ruby -n -e '$_ =~ /^.*\((.*?)\s[\d]{4}/; puts $1.strip' | sort -f | uniq -c | sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment