Wirebook

Wirebook › Glossary › Merge conflict

What is a merge conflict?

In one sentence: When two people changed the very same thing at once, so a rule or a person has to decide which change to keep.

A little more

A merge conflict happens when two changes touch the very same thing, such as both people colouring square 27 or editing the same line of code. Changes to different places can simply both be kept.

Apps choose a rule: keep the later change, keep both side by side, or stop and ask a person. Code tools such as Git mark the clashing lines so a programmer can pick.

See it in action

  1. BonusHow can two people draw on the same picture at once?Colour one picture on two pretend tablets, switch their Wi-Fi off and on, and compare three rules: last save wins, take turns, and merge square by square.6 min · interactive

Related words

← All 146 words