Created
June 14, 2021 08:10
-
-
Save rittme/72c566b6aa1af617f496763c78fe8964 to your computer and use it in GitHub Desktop.
show stats of how many lines were changed by author
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-tree -r -z --name-only HEAD -- $1 | sed 's/^/.\//' | xargs -0 -n1 git blame \ | |
--line-porcelain HEAD |grep -ae "^author "|sort|uniq -c|sort -nr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment