Safe sandbox
LEARN BY DOING

Practice Resolving Git Merge Conflicts

See what happens behind every command.

EXPLORE · EXPERIMENT · UNDERSTAND
TEAM PATH · LESSON 02 OF 2

Resolve a disagreement

You changed the sugar to 1 tablespoon. Maya changed that same line to 2 tablespoons. Git cannot decide which instructions you intended. Choose an amount and save the decision.

WHAT YOU WILL LEARN
  1. 01

    Recognize why two edits to the same line can conflict.

  2. 02

    Choose the final recipe content while preserving both histories.

  3. 03

    Select the resolved file and finish the merge.

You will resolve a real-looking conflict in pancakes.txt and see both lines of history join.

YOUR STARTING POINT
3existing saved versions
You + Maya

This exercise prepares three saved versions: the original recipe, your sugar edit, and Maya’s different sugar edit. These existing saves set up the disagreement; you did not create them in this practice.

Each lesson starts from this setup so you can replay it independently.
Words you’ll meet
~ 4 min · 4 guided actions

Follow the buttons or try commands yourself. Finish with two recap questions.