Suppressing diffs for deleted files in git
问题 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>' . In an ideal world, it would be preceded by the list of deleted and added files, but not show the diffs within them. I was most of the way through writing a utility that does this: git diff HEAD `git status | grep modified | cut -d : -f 2` when I wondered if