I have a file that managed to get itself named:
# file's name (both lines)
companies.yml
companies.yml
# entry in my git working tree
"test/fixtures/companies.yml\342\200\250companies.yml"
For annoying reasons, the working tree on this particular project is full of other files that still need organizing. I would like to get the above entry out of there, but when I try git add "test/fixtures..."
or git rm "test/fixtures..."
it fails:
fatal: pathspec 'test/fixtures/companies.yml\342\200\250companies.yml' did not match any files
How can I deal with this?
Git status
On branch master
# Your branch is ahead of 'production/master' by 4 commits.
#
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
modified: [other files]
modified: "test/fixtures/companies.yml\342\200\250companies.yml"