documentation for git-rm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!  The documentation for git-rm at
http://www.kernel.org/pub/software/scm/git/docs/git-rm.html says

EXAMPLES

git-rm Documentation/\*.txt

    Removes all *.txt files from the index that are under the
Documentation directory and any of its subdirectories. The files are not
removed from the working tree.


I think that this should say


git-rm --cached Documentation/\*.txt

?

Otherwise I don't see why it wouldn't remove the files from the working
tree.  If this is a documentation error, it could cause some bad
problems for people who follow it.
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]