最近,当我git pull
在我的主分支中运行时,它偶尔会出现以下合并错误:
Trying simple merge with 7ff9b5...
Trying simple merge with 6872cd...
Simple merge did not work, trying automatic merge.
Auto-merging file.txt
ERROR: content conflict in file.txt
fatal: merge program failed
Automated merge did not work.
Should not be doing an Octopus.
Merge with strategy octopus failed.
但是,在此合并尝试之后,有些文件甚至不在 master 分支中。我可以使用并再次拉动来解决这个问题git reset
,但我想知道这个头或提交从哪里来我怎么能找到这个?我尝试查看gitk
并检查本地 GitLab 服务器,但我找不到任何东西。