我在运行git status
时收到此消息:
Your branch and 'origin/develop' have diverged,
and have 1 and 2 different commits each, respectively.
我按照usual steps解决了问题:
但我拒绝了推动。再次运行git status
:
Your branch and 'origin/develop' have diverged,
and have 2 and 2 different commits each, respectively.
如果我试图拉,冲突就像以前一样!我可以再犯,故事一遍又一遍地重复。似乎Git无法确定我已经完成了合并。这怎么可能?
请注意:
git remote update
,然后是git merge