Skip to content

Instantly share code, notes, and snippets.

@mlajtos
Created April 8, 2019 17:38
Show Gist options
  • Save mlajtos/42959d196fcfa1b1989927360909559e to your computer and use it in GitHub Desktop.
Save mlajtos/42959d196fcfa1b1989927360909559e to your computer and use it in GitHub Desktop.
Lines Of Code – Statistics
git ls-files | grep "src/.*\.js\$" | xargs -n1 git blame --line-porcelain | grep "author " | sed -n 's/author //p' | sort -f | uniq -ic | sort -nr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment