Created
August 13, 2017 20:18
-
-
Save cbedoy/e016d96aba2ab06ec311b0b6ec8f3bdc to your computer and use it in GitHub Desktop.
git_report.sh
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 --author=$USER --shortstat $BRANCH | \ | |
awk '/^ [0-9]/ { f += $1; i += $4; d += $6 } \ | |
END { printf("%d files changed, %d insertions(+), %d deletions(-)", f, i, d) }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment