35

再帰的な戦略とのgitマージの正しい形式は何ですか?(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 に答える