Skip to content

Instantly share code, notes, and snippets.

@codeprimate
Forked from anonymous/gist:4332225
Created December 18, 2012 21:34
Show Gist options
  • Save codeprimate/4332232 to your computer and use it in GitHub Desktop.
Save codeprimate/4332232 to your computer and use it in GitHub Desktop.
git diff $1 | grep "^\+[^+]\{3\}" | grep -v "^\+[\t ]*$" | wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment