What is a criss-cross merge?
IntermediateConceptMerge, rebase and cherry-pick
Answer
Two branches merge each other in both directions, so there are multiple equally good merge bases. Git merges those bases into a virtual ancestor and uses it. Results can be surprising, and the conflicts shown may include markers from the nested merge.
More on Merge, rebase and cherry-pick
What is the difference between a fast-forward merge and a merge commit?BeginnerHow does a three-way merge work?IntermediateWhat does `git rebase` actually do?IntermediateMerge versus rebase: how do you decide?IntermediateWhat are squash merge, merge commit and rebase-and-merge on GitHub?IntermediateWhy does a squash-merged branch show as unmerged to `git branch --merged`?Intermediate