Skip to content

Instantly share code, notes, and snippets.

@pparidans
Created March 25, 2013 08:36
Show Gist options
  • Save pparidans/5235710 to your computer and use it in GitHub Desktop.
Save pparidans/5235710 to your computer and use it in GitHub Desktop.
git log --numstat --pretty="%H" --author="Your Name" commit1..commit2 | 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