3 ms·
Agreed that this is lacking. Staged is what will be included in the next commit (as made by git commit). So it is a diff against HEAD (current commit). Also, i
by jononor 8y ago
Agreed that this is lacking.
Staged is what will be included in the next commit (as made by git commit). So it is a diff against HEAD (current commit).
Also, it does not show a particular file, but all the changes in the staging area. To show only one file have to do `git diff --staged -- src/myfile.c`