How do I get git to resolve merge conflicts by putting “ours first, then theirs”
问题 I would like to be able to automatically resolve "two branches added blocks at the same line" conflicts by putting the "ours" block first, then the "theirs" block. So instead of a conflict like: 16:09:44 tims@firebat ~/git/merge_conflict_example (master|MERGING) $ cat test.txt good morning good evening <<<<<<< HEAD g'day ======= aloha >>>>>>> branch1 hello hi I'd just get: 16:09:44 tims@firebat ~/git/merge_conflict_example (master) $ cat test.txt good morning good evening g'day aloha hello hi