should use the <code class="literal">—remove</code> and <code class="literal">—add</code> flags respectively.</p><p>NOTE! A <code class="literal">—remove</code> flag does <span class="emphasis"><em>not</em></span> 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 <code class="literal">—remove</code> means is that update-cache will be
+removed. The only thing <code class="literal">—remove</code> 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.</p><p>As a special case, you can also do <code class="literal">git-update-index —refresh</code>, which
will refresh the "stat" information of each index to match the current
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.