Thread (1 message) 1 message, 1 author, 2017-09-15

Re: git diff --name-status for deleted files

From: Junio C Hamano <hidden>
Date: 2017-09-15 05:48:10

Gene Thomas [off-list ref] writes:
Junio,
           Thanks for your reply. So git is essentially doing a
           "git commit" when I "git rm".
No. You'd probably need to read a bit more on Git; unlike other
systems like CVS and SVN, where you only have two states
(i.e. committed contents vs files on the filesystem), we have three
states (i.e. the index in addition to the above two).

"git add file" and "git rm file" make the index match what's on the
filesystem wrt "file".  They never touch committed contents, which
"git commit" command is about.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help