35

git merge 与我们的递归策略的正确格式是什么?(不要与 git merge ours 策略混淆)

http://www.kernel.org/pub/software/scm/git/docs/git-merge.html

我尝试了很多方法,但似乎不起作用。

git merge foo -s recursive-ours  // doesn't work
git merge foo -s recursive ours // doesn't work
git merge foo -s recursive -ours // doesn't work
...
4

1 回答 1

49

git merge -s recursive -X ours foo

于 2010-08-25T22:03:26.137 回答