Skip to content

Instantly share code, notes, and snippets.

@dgoodlad
Created May 6, 2013 11:13
Show Gist options
  • Save dgoodlad/5524556 to your computer and use it in GitHub Desktop.
Save dgoodlad/5524556 to your computer and use it in GitHub Desktop.
AUTHOR="David Goodlad"
git log --shortstat --author="${AUTHOR}" \
| grep -E "fil(e|es) changed" \
| awk '{files+=$1; inserted+=$4; deleted+=$6} END {print "files changed: ", files, "lines inserted: ", inserted, "lines deleted: ", deleted }'
@dgoodlad
Copy link
Author

dgoodlad commented May 6, 2013

files changed: 2099 lines inserted: 69275 lines deleted: 3776

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment