Conflict resolution
summary
Explains that Git stores full snapshots and performs a three-way merge by finding the nearest common ancestor and adding the two branch deltas, shows concrete examples where cherry-pick uses the parent as the merge base and revert uses the commit itself, demonstrates why non‑commutative edits produce conflicts (e.g. two edits or edit vs delete) and how a file vs directory conflict forces renaming, and maps these behaviors to database concepts like serializability, locks, MVCC and CRDTs.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:39Git
- 3:53Merging
- 10:00Cherrypick
- 13:21Revert
- 15:25Merge conflicts
- 17:31Commutativity
- 19:37Serializability
- 21:58Merge
- 25:12Two changes
- 26:47Database analogies








