Git,如何删除路径中带有有趣字符的文件?

Git,如何删除路径中带有有趣字符的文件?,git,Git,我有一个无法在git中删除的文件。我该怎么做 Your branch is ahead of 'origin/1.1.x' by 1 commit. (use "git push" to publish your local commits) Changes not staged for commit: deleted: "../../src/Interlated\220CamsBundle/Services/ApplicationRank.php" 试试这个 git add -u gi

我有一个无法在git中删除的文件。我该怎么做

Your branch is ahead of 'origin/1.1.x' by 1 commit.
(use "git push" to publish your local commits)
Changes not staged for commit:
deleted:    "../../src/Interlated\220CamsBundle/Services/ApplicationRank.php"
试试这个

git add -u
git commit -m "your commit message"
git push

哪些字符很有趣,你能更清楚地说明你的问题吗?\220很有趣-很好,不是哈哈。你是否尝试了一个
git add-u.
:那应该会记录删除。然后提交并克隆repo,以检查文件是否已从索引中删除。没有副作用。