I want to get a quick overview of the local changes in my repository, but I don't want a diff that shows deleted files, since every single line is a minus.
Basically, I want something like
'git diff HEAD <list of modified files only>'
git diff HEAD `git status | grep modified | cut -d : -f 2`
You can do this with the
--diff-filter option and specifying all but the "D" (deleted) criteria:
$ git diff --diff-filter=ACMRTUXB