I want to get a brief overview of local changes in my repository, but I do not need a diff that shows the deleted files, since each separate line is minus.
Basically, I want something like 'git diff HEAD <list of modified files only>' . In an ideal world, it will be preceded by a list of deleted and added files, but not show the differences between them.
I was mainly due to writing a utility that does this:
git diff HEAD `git status | grep modified | cut -d : -f 2`
when I was wondering if there is any git -y way to do this. Is there a flag that I am missing? I would also like to keep the color output.
git shell
Alex Feinman Sep 11 '10 at 18:35 2010-09-11 18:35
source share