I would like to force git to always merge using a (kind of) 3-way conflicts resolution. Moreover, I want to do it to the point of being able to choose single lines.
At the moment I am merging two branches. However, if possible, I'd like to know how to perform this task even when merging multiple branches.
Git tries to do 3-way merging by default (the recursive strategy for 2 heads, and the octopus strategy for 3+ heads).
If you want to see 3-way resolution options when manually merging, try setting the merge.conflictstyle config option to diff3.
(See the Configuration section of the git-merge man page for details on that option.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With