Git Diff Numstat
Ever wanted to know how many lines have been added and/or removed by you current Git diff? There's a built-in command for just that:
$ git diff --numstat
28 1 README.md
My current changes add 28 lines and remove 1 line from the README.
Tweet