🥚

lvl_1 hatchling

0xp

[░░░░░░░░░░░░]
~/quest-map/level_0555m · Level 5 · Branch Ranger
🪄 Pull requests & merging

The Handshake

🔤 5 man pages🛠 4 tasks🎯 5 checks🧠 4 questions🏅 Merge Master

level_progress

0%

[░░░░░░░░░░░░░░░░]

steps 0/15 · xp 0/215

…running
▮$ cat ./story.txtm5.story

» A bridge of light appears between your universe and the official one. Crossing it means knocking first: “Hey — I made something. Would you like it?”

┌─[objectives]

on exit you can…

  1. 01Explain a pull request as a polite proposal, not a demand.
  2. 02Open a pull request from a branch and write a clear description.
  3. 03Read the 'Files changed' tab and review your own work.
  4. 04Merge a pull request and clean up the branch afterwards.
  5. 05Recognise a merge conflict and stay calm about it.

$ man --list

# read the plain-english line, then the analogy, then say the last one out loud. # tick it when it clicks — 10xp each.

50xp available
▮man pull-request#110xp

🤝 Pull request (PR)

A proposal: 'I made these changes on a branch — please review them and, if they're good, pull them into main.' It opens a conversation with a chat thread attached.

# analogize

Handing a friend your essay draft and saying 'any notes before I submit it?' The essay isn't submitted yet — you're asking.

$ echo "say it out loud"

“A pull request is a polite proposal to merge my branch, with a conversation attached.”

▮man review#210xp

🔎 Review & comments

People read the changes, leave comments on specific lines, and either approve, request changes, or just chat.

# analogize

Margin notes from a kind editor. They're about the work, never about you.

$ echo "say it out loud"

“Reviews are notes on the work, not judgements of the person.”

▮man merge#310xp

🪄 Merge

Accepting the proposal: your branch's changes become part of main. The green button says 'Merge pull request'.

# analogize

Two rivers joining. After the merge, there's one river again — and it's wider.

$ echo "say it out loud"

“Merging brings my branch's work into the official copy.”

▮man conflict#410xp

🚧 Merge conflict

Two people changed the same line in different ways, so GitHub can't guess which one wins. It asks a human to choose. It is a question, not an error.

# analogize

Two people writing different words on the same line of a shared notebook. Someone has to say which one stays — usually both, in a sensible order.

$ echo "say it out loud"

“A conflict just means GitHub needs me to choose. Nothing is broken.”

▮man draft-pr#510xp

🚧 Draft pull request

A PR marked 'work in progress' so people can watch, but nobody merges it yet.

# analogize

A restaurant dish still on the pass: visible, but not ready to serve.

$ echo "say it out loud"

“Draft means 'look, but don't merge yet'.”

$ run ./tasks --hands-on

# everything happens in your browser at github.com — no installs, no terminal on your own # machine. tick each step, then bank 15xp when the task finishes.

▮run open-pr--mode=solo --min=15 --step=115xp

Knock on the door

progress 0/5

=> output

A real pull request with number #1 (or higher) in your repo.

▮run review-pr--mode=pair --min=12 --step=215xp

Review your own work

progress 0/3

=> output

One review comment and a description a stranger understood.

▮run merge-pr--mode=solo --min=10 --step=315xp

Seal the Handshake

progress 0/4

=> output

A merged pull request and a tidy branch list.

▮run conflict-lab--mode=pair --min=15 --step=415xp

🚧 Conflict lab (brave mode)

progress 0/5

=> output

You have seen a conflict and lived. Fear reduced permanently.

!! recover

Conflicts cannot damage main. The worst outcome is a messy file you can fix with another commit.

▮./mission_05--verify --strict55m

Mission 5 · Seal the Handshake

Propose, review, merge, tidy. Then do it again under pressure with a conflict.

0/5

[░░░░░░░░░░░░]

[loot] reward on completion

Badge: Merge Master · +80 XP

unlock_condition: 5 man pages + 4 tasks + 5 mission steps + diagnostic ≥ 75%.

▮./diagnostic--level=m5 --questions=4 --pass=75%not passed · 25xp

# unlimited retakes, no penalties. every answer prints the reason.

Q1> A pull request is…

Q2> In 'base: main ← compare: add-about-me', what is 'base'?

Q3> Where do you actually read the lines that changed?

Q4> GitHub says 'Can't automatically merge'. This means…

answered 0/4
▮$ cat must-know.txt
  • [+]PR = proposal + conversation, not a demand.
  • [+]base: main ← compare: your-branch.
  • [+]The 'Files changed' tab is where reviewing happens.
  • [+]Merge button, then Delete branch.
  • [+]Conflicts are a question for a human, never a disaster.
▮$ cat defer.txt
  • [~]Squash vs rebase vs merge-commit buttons — three flavours of the same merge. Use the default.
  • [~]Automated checks (CI) — the little red ✗ / green ✓ that run tests.
  • [~]Branch protection requiring approvals before merging.
  • [~]PR templates that pre-fill the description box.

$ ls ./deliverables -l

taskmodetimeoutput
Knock on the doorsolo15mA real pull request with number #1 (or higher) in your repo.
Review your own workpair12mOne review comment and a description a stranger understood.
Seal the Handshakesolo10mA merged pull request and a tidy branch list.
🚧 Conflict lab (brave mode)pair15mYou have seen a conflict and lived. Fear reduced permanently.

🎒 man gitquest --operator (this level)

  • # This is the module that makes people feel like real developers. Slow down. Let them read the confetti screen.
  • # Demo a conflict live before they try one — seeing an instructor stay calm is 80% of the lesson.
  • # Solo learners can review their own PR; it feels silly and works fine. Pairs are better if you have them.
  • # If time is short, make the conflict lab optional and assign it as the guild challenge instead.
▮$ ./unlock --achievementexit 1
🔒

achievement

Merge Master

You have completed the full loop: branch → propose → review → merge.

locked · clear this level to unlock