Created
September 22, 2011 21:02
-
-
Save felipehummel/1236045 to your computer and use it in GitHub Desktop.
Prints an author rank based on the number of lines added/removed in a git repository
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
git log | grep 'Author' | sed 's/<.*>//g' | sed 's/Author: //g' | sort | uniq | xargs -I {} bash -c "echo -n \"{}= \" ; git log -p --author='{}' --oneline | grep -c -e '^[+-]'" | sort -t '=' -g -k 2 -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment