Created
May 17, 2014 18:04
-
-
Save danmayer/2288a470c5d83616c489 to your computer and use it in GitHub Desktop.
git log mining
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
#specific commiter | |
git log --numstat --pretty="%H" --author="dan.mayer" --since="2 years ago" app | awk 'NF==3 {plus+=$1; minus+=$2} END {printf("+%d, -%d\n", plus, minus)} | |
#team total | |
git log --numstat --pretty="%H" --since="2 years ago" app | awk 'NF==3 {plus+=$1; minus+=$2} END {printf("+%d, -%d\n", plus, minus)} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment