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
git commit -m "your commit message"
git push

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

相关文章:

git svn clone 初始化后卡住

git - 当我在 Windows 上的 Android Studio 中克隆 git 存储库时,存储库测试失败

git - 在 Heroku 上克隆以前的版本

git - 如何将整个 git 存储库移动到其他地方?

混帐庆典 : stuck after writing the message for commit

c# - 如何从远程存储库获取 pull 状态/最新状态?

git - git 中的文件索引已在 Git 中删除

git - 使 Docker 容器保持最新

git - 在 github 上管理发布

mysql - 如何在无迁移系统中处理数据库?