Skip to content

Instantly share code, notes, and snippets.

@linmx0130
Created August 18, 2012 02:41
Show Gist options
  • Save linmx0130/3384042 to your computer and use it in GitHub Desktop.
Save linmx0130/3384042 to your computer and use it in GitHub Desktop.
return how many lines changed with git
git diff |grep "\(^+[^+]\|^-[^-]\)" |wc -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment