Skip to content

Instantly share code, notes, and snippets.

@vladvinnikov
Created November 1, 2013 03:37
Show Gist options
  • Save vladvinnikov/7260651 to your computer and use it in GitHub Desktop.
Save vladvinnikov/7260651 to your computer and use it in GitHub Desktop.
Git commit statistics
git shortlog --after=2013-09-30 --until=today
git log --after=2013-09-30 --until=today --oneline --shortstat
git log --numstat --pretty="%H" --after=2013-09-30 --until=today | awk 'NF==3 {plus+=$1; minus+=$2} END {printf("+%d, -%d\n", plus, minus)}'
git diff commit1..commit2 --shortstat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment