"git rm" seems to do recursive removal even without "-r"
- Date: Sat, 7 Oct 2017 14:39:50 -0400 (EDT)
- From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx>
- Subject: "git rm" seems to do recursive removal even without "-r"
was just testing variations of "git rm", and man page claims:
Allow recursive removal when a leading directory name is given.
i tested this on the "pro git" book repo, which contains a top-level
"book/" directory, and quite a number of "*.asc" files in various
subdirectories one or more levels down. i ran:
$ git rm book/\*.asc
and it certainly seemed to delete *all* "*.asc" files no matter where
they were under book/, even without the "-r" option.
am i misunderstanding something?
Robert P. J. Day Ottawa, Ontario, CANADA