git中“解析使用他们”的默认行为是什么?
根据这个问题,我知道可以保留所有没有引起任何冲突their
变更,而对冲突变更使用变更。
我想知道的是,在使用SourceTree(或相关的任何git工具或甚至命令行)时,在单个文件(甚至是完整合并)上选择Resolve using theirs
默认行为是什么。
theirs
所有的冲突? 它解决了无冲突的改变,喜欢theirs
的相互冲突的。 ( ours
的对面)
从man
ours
>>> This option forces conflicting hunks to be auto-resolved cleanly by
>>> favoring our version. Changes from the other tree that do not
>>> conflict with our side are reflected to the merge result.
This should not be confused with the ours merge strategy, which does
not even look at what the other tree contains at all. It discards
everything the other tree did, declaring our history contains all that
happened in it.
theirs
This is opposite of ours.
链接地址: http://www.djcxy.com/p/45031.html
上一篇: What is the default behaviour of "Resolve using theirs" in git
下一篇: How do you get a Git merge to ignore conflicts in selected files?