我有一个无法在 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
关于Git,如何删除路径中带有有趣字符的文件?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30366072/