Skip to content

Instantly share code, notes, and snippets.

@highercomve
Forked from GusGA/list_by_commiter.sh
Last active September 3, 2015 21:48
Show Gist options
  • Save highercomve/239716c99a5509b349c9 to your computer and use it in GitHub Desktop.
Save highercomve/239716c99a5509b349c9 to your computer and use it in GitHub Desktop.
lines_by_commiter
git log --numstat --pretty="%H" --author=$1 | grep -v "public/" | 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