Skip to content

Instantly share code, notes, and snippets.

@inkredabull
Created December 4, 2013 17:31
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 inkredabull/7791894 to your computer and use it in GitHub Desktop.
Save inkredabull/7791894 to your computer and use it in GitHub Desktop.
One-line for parsing calendar-year Git history (minus 'merges') to assist in year-end performance review. (Replace author with your name, dates as appropriate.) awk ref: http://stackoverflow.com/questions/2626274/print-all-but-the-first-three-columns
git log --author=Anthony --since="JAN 1 2013" --until "Dec 31 2013" --oneline | awk -F ' ' '{for(i=2;i<=NF;i++)printf "%s",$i (i==NF?ORS:OFS)}' | grep -v Merge
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment