Created
February 28, 2014 11:20
-
-
Save SinisterLight/9269416 to your computer and use it in GitHub Desktop.
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
# Total Commits per author | |
git shortlog -sn | |
# Author total addition and substraction | |
git log --numstat --pretty="%H" --author="Sinister Light" | awk 'NF==3 {plus+=$1; minus+=$2} END {printf("+%d, -%d\n", plus, minus)}' | |
# Number of lines per author | |
git ls-files | xargs -n1 -d'\n' -i git blame {} | perl -n -e '/\s\((.*?)\s[0-9]{4}/ && print "$1\n"' | sort -f | uniq -c -w3 | sort -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment