Skip to content

Instantly share code, notes, and snippets.

Created December 18, 2012 21:33
Show Gist options
  • Save anonymous/4332225 to your computer and use it in GitHub Desktop.
Save anonymous/4332225 to your computer and use it in GitHub Desktop.
Git: changed/added lines since REFSPEC
git diff REFSPEC | 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