Git Merge Recursive Ours - 命令语法示例

时间:2010-08-13 04:40:31

标签: git merge git-merge

使用递归策略进行git合并的正确格式是什么? (不要与git合并我们的策略混淆)

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
...

1 个答案:

答案 0 :(得分:37)

git merge -s recursive -X ours foo

相关问题