Created
May 2, 2023 16:57
-
-
Save longtth/0c0fa94a101efe795bbc74079c637844 to your computer and use it in GitHub Desktop.
count line of code per user
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git ls-files | while read f; do git blame --line-porcelain $f | grep '^author '; done | sort -f | uniq -ic | sort -n | |
# this doesn't include xargs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment