RPS <jim@xxxxxxxxxxxxxxxxxxxxxxxxxx> writes: > git rm doesn't seem to be very useful without the use of shell > wildcards, especially with the use of a .gitignore file. If a > .gitignore file is used, the git rm command does not consider the > .gitignore file, and errs out when an ignored file is present. Do you mean $ git rm COPY* would complain about COPYING~ on your filesystem, which would match the pattern "*~" you have in your .gitignore file, after editing the tracked COPYING file? If so, you may choose to tell your shell _not_ to expand wildcards, as it does not know what is ignored, by doing $ git rm COPY\* instead. That would allow "git rm" to expand wildcards _with_ the knowledge of what is and is not ignored. The shell does not know (probably you could teach if you wanted to, but it does not want to know) and care about .gitignore files when it does its wildcard expansion.