From: Junio C Hamano âremove
and âadd
flags respectively.
NOTE! A âremove
flag does not mean that subsequent filenames will
necessarily be removed: if the files still exist in your directory
structure, the index will be updated with their new status, not
-removed. The only thing âremove
means is that update-cache will be
+removed. The only thing âremove
means is that update-index will be
considering a removed file to be a valid thing, and if the file really
does not exist any more, it will update the index accordingly.
As a special case, you can also do git-update-index ârefresh
, which
will refresh the "stat" information of each index to match the current
diff --git a/user-manual.txt b/user-manual.txt
index 0aaed10c7..93a47b439 100644
--- a/user-manual.txt
+++ b/user-manual.txt
@@ -3707,7 +3707,7 @@ should use the `--remove` and `--add` flags respectively.
NOTE! A `--remove` flag does 'not' mean that subsequent filenames will
necessarily be removed: if the files still exist in your directory
structure, the index will be updated with their new status, not
-removed. The only thing `--remove` means is that update-cache will be
+removed. The only thing `--remove` means is that update-index will be
considering a removed file to be a valid thing, and if the file really
does not exist any more, it will update the index accordingly.