【问题标题】:git remove untrack files but there's no untracked files [duplicate]git删除未跟踪的文件,但没有未跟踪的文件[重复]
【发布时间】:2018-07-21 13:09:14
【问题描述】:

我不知道我是怎么弄坏git的,我试着做git pull upstream target-branch

我得到了错误

The following untracked working tree files would be overwritten by merge

但是当我执行git status 时,我没有看到任何未跟踪的文件。

【问题讨论】:

    标签: git github


    【解决方案1】:

    git status 仅显示未忽略的文件,但您可能还忽略了文件。有关列表,请参阅git ls-files -o

    【讨论】:

      猜你喜欢
      • 2016-02-27
      • 1970-01-01
      • 2017-05-10
      • 1970-01-01
      • 2011-11-27
      • 2014-02-12
      • 1970-01-01
      • 1970-01-01
      • 2017-10-23
      相关资源
      最近更新 更多