Skip to content

Instantly share code, notes, and snippets.

@ptarjan
Created March 29, 2011 17:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ptarjan/892786 to your computer and use it in GitHub Desktop.
Save ptarjan/892786 to your computer and use it in GitHub Desktop.
git log --since="12 months ago" --author=$USER | grep Summary: | wc -l
git log --since="12 months ago" | grep 'Reviewed By: '$USER | wc -l
git log --since="12 months ago" | grep 'CC: ' | grep $USER | wc -l
git log --since="12 months ago" --author=$USER --numstat | grep '^[0-9]' | awk '{sum+=$1} END {print sum}'
git log --since="12 months ago" --author=$USER --numstat | grep '^[0-9]' | awk '{sum+=$2} END {print sum}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment