Skip to content

Instantly share code, notes, and snippets.

@ErisDS
Created April 13, 2015 16:39
Show Gist options
  • Save ErisDS/7c48004290a3da3c229b to your computer and use it in GitHub Desktop.
Save ErisDS/7c48004290a3da3c229b to your computer and use it in GitHub Desktop.
Changes between two versions
git log --numstat --pretty="%H" 0.5.10..0.6.0 | 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