【问题标题】:Can't remove files from remote repository无法从远程存储库中删除文件
【发布时间】:2014-06-04 00:55:57
【问题描述】:

我从本地存储库中删除了一些文件,当我输入 git status 时,它说它们已被删除,但是当我尝试添加它们时,它说它们与任何文件都不匹配。

【问题讨论】:

    标签: git git-commit git-remote git-add


    【解决方案1】:

    试试

    git add -u <filename>
    

    【讨论】:

      猜你喜欢
      • 2014-11-19
      • 2020-10-11
      • 2012-08-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-11-28
      • 1970-01-01
      • 2020-10-31
      相关资源
      最近更新 更多