'git pull'直接'fast-forword'mode删除我的本地文件?

时间:2018-05-25 11:32:39

标签: git

我删除了github上的'readme.md'文件。

'readme.md'文件仍在我当地。

最初我'git pull'git会提醒我自动冲突失败enter image description here

然后我运行'git mergetool',它提醒我选择enter image description here

后来我选择'删除'。类似的情况再次出现。

当我'拉扯'时,它不会让我想起冲突。

它将'fast-forword'直接删除我的本地文件enter image description here

如何取消它'fast-forword'删除我的本地文件?

1 个答案:

答案 0 :(得分:0)

我知道。因为github上的删除文件是最新提交的内容。所以当我拉动它时,它不会让我想起冲突。

相关问题