I've done this 100s of times. I deleted a file from a directory and then run git status which looks fine.
# Changes not staged for commit:
# (use "git add/rm <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# deleted: themes/custom/gitb/templates/views-view-field--field-overall-rating.tpl.php
#
Then I run git rm themes/custom/gitb/templates/views-view-field--field-overall-rating.tpl.php and receive an error message
error: pathspec 'themes/custom/gitb/templates/views-view-field--field-overall-rating.tpl.php' did not match any file(s) known to git.
git status "knows" about the file but but git rm doesn't and won't remove it. I'm stuck and how do I solve this?