Skip to content

Instantly share code, notes, and snippets.

@Lenny4
Created June 12, 2020 14:09
Show Gist options
  • Save Lenny4/1ac68f4cf0f1383886db6419db5f9c6a to your computer and use it in GitHub Desktop.
Save Lenny4/1ac68f4cf0f1383886db6419db5f9c6a to your computer and use it in GitHub Desktop.
Show total number lines of code per author
git ls-files | while read f; do git blame --line-porcelain $f | grep '^author '; done | sort -f | uniq -ic | sort -n
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment