Skip to content

Instantly share code, notes, and snippets.

@RickyRoller
Created September 17, 2015 17:49
Show Gist options
  • Select an option

  • Save RickyRoller/44531ad8313b032f5fc0 to your computer and use it in GitHub Desktop.

Select an option

Save RickyRoller/44531ad8313b032f5fc0 to your computer and use it in GitHub Desktop.
git log --shortstat --author "AUTHOR NAME" --since "2015-01-01" --until "today" | grep "files\? changed" | awk '{files+=$1; inserted+=$4; deleted+=$6} END {print "files changed:", files, "lines inserted:", inserted, "lines deleted:", deleted}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment