An octopus merge joins more than two heads in one merge commit when no conflicts arise.
Git Expert · Lesson 1 · On the house
Octopus and ours strategies
Multi-parent merges and strategy options. Lesson 1 is free — on the house.
Lessons · Git Expert · Lesson 1 of 10 · On the house
Octopus and ours strategies
Multi-parent merges and strategy options.

Strategy -s ours records a merge but keeps our tree — useful for voiding a side branch's content.
ours/theirs during conflicts depend on merge vs rebase direction — verify which side is which.
Octopus refuses conflicting merges; fall back to pairwise merges when needed.
These are specialized tools — prefer ordinary merges unless you have a clear graph reason.
octopus
git merge -s ours obsolete-topicQuiz
Quiz
Quiz
Quiz
Check
Match the still for: Octopus and ours strategies.
Open-book: the answers are on this page. Pass every quiz and check (5) to mark the lesson done. This visit: 0/5.