Last active
October 7, 2017 01:36
-
-
Save jakubriedl/799a58cf6266244e72e1ac1a9a1aa8da to your computer and use it in GitHub Desktop.
Git lines per author
This file contains hidden or 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
# Authors | |
git ls-files | grep "yarn.lock" -v | grep "package-lock.json" -v | while read f; do git blame --line-porcelain $f | grep '^author '; done | sort -f | uniq -ic | sort -n | |
# Size of repository | |
git ls-files | grep "yarn.lock" -v | grep "package-lock.json" -v | while read f; do git blame --line-porcelain $f | grep '^author '; done | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment