我有一个文件设法将自己命名为:
# file's name (both lines)
companies.yml
companies.yml
# entry in my git working tree
"test/fixtures/companies.yml\342\200\250companies.yml"
由于烦人的原因,这个特定项目的工作树充满了其他需要组织的文件。我想从那里获得上述条目,但是当我尝试git add "test/fixtures..."
或git rm "test/fixtures..."
失败时:
fatal: pathspec 'test/fixtures/companies.yml\342\200\250companies.yml' did not match any files
我该如何处理?
Git状态
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"