Octopus merge: keep the first parent to the target branch

26 Views Asked by At

If I run git merge other-branch, Git creates a merge commit that has as first-parent the current branch, and as second-parent other-branch.

However, if I run git merge branch2 branch3, Git creates a merge commit that has as first-parent branch2 and second-parent branch3. How do I force it to keep the first-parent relationship on the current branch?

0

There are 0 best solutions below