Skip to content

Instantly share code, notes, and snippets.

@OliverLetterer
Created April 3, 2015 10:28
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 OliverLetterer/5624f1e4825891c5f3db to your computer and use it in GitHub Desktop.
Save OliverLetterer/5624f1e4825891c5f3db to your computer and use it in GitHub Desktop.
Count insertions / deletions in git repo
git log HEAD...3649b6a056d72524205b57791e7c78f3ac209f7e --numstat | grep ViewController.m | awk '{ INS += $1; DEL += $2 } END { print "+" INS " -" DEL }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment