Created
October 16, 2014 08:58
-
-
Save benvium/2f34ae3522be4ce8c2b2 to your computer and use it in GitHub Desktop.
Git command to list number of changes to .h and .m files in the last month by a particular user Extension of http://stackoverflow.com/questions/2528111/how-can-i-calculate-the-number-of-lines-changed-between-two-commits-in-git
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 log --numstat --author="Ben Clayton" --since "1 month" -- *.m *.h | 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