git 拉取文件现在是 "modified",这太荒谬了

git pull files are now "modified" which is ridiculous

我正在与其他人一起进行 git 项目。其中一个昨天更新了一些文件。今天我做了 git pull 并且它更新了我的文件,就像它应该的那样。没有比这更直接的了

但是,它还将我从存储库中获取的所有更改标记为 等待提交的本地更改。我尝试恢复并合并,我再次尝试拉动。没有什么。新文件仍然是 "uncommitted"(尽管 它们来自服务器)。

我很困惑。这里发生了什么? git是不是故意逗我?

更新

这是 git status

的输出
On branch master
Your branch and 'origin/master' have diverged,
and have 1 and 5 different commits each, respectively.
  (use "git pull" to merge the remote branch into yours)

All conflicts fixed but you are still merging.
  (use "git commit" to conclude merge)

Changes to be committed:

    (... list of files modified\deleted\added etc.)

Untracked files:
  (use "git add <file>..." to include in what will be committed)

    (... list of untracked files)

pull 的作用是获取最新文件并对任何可能的本地更改执行合并。在您的情况下,似乎存在局部冲突,无法自动合并。因此,合并仍在进行中,您需要解决这些冲突。

接下来要做什么?取决于你想要什么。您可以放弃本地更改或完成实际合并,然后再推回。