Skip to content

Instantly share code, notes, and snippets.

@joecannatti
Created November 8, 2011 16:09
Show Gist options
  • Save joecannatti/1348209 to your computer and use it in GitHub Desktop.
Save joecannatti/1348209 to your computer and use it in GitHub Desktop.
One liner, count your CTO's code
count=0; for i in $(find . -name \*.rb); do count=`expr $count + $(git blame $i | grep "Anthony Broad" | wc -l)`; done; echo "ABC wrote $count lines of code";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment