Is there a way of viewing the differences between the staged
and unstaged
versions of the same file?
For example:
Changes to be committed:
modified: conf/application.conf
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
modified: conf/application.conf
This happens when I stage a change and then I modify the file again, without staging it.
EDIT
The git status -vv
command is not good enough, because I need to use the diff
/ difftool
command. That's because in practice there are too many changes in too many files, and scrolling through all of them is not efficient. But diff
/ difftool
allows me to specify the file I am interested in.