Learning on Web Dev Open is free for all.

ArcadeBranch
Arcade

Branch

Phase 03 · Systems ThinkingPlayable

Reach the target commit graph with the shortest sequence of git commands.

0 / 5 cleared
Your repository0 commands · par 2
AmainHEAD
Target
ABCmain
Level 1

Two more commits on main.

Try `git commit`.

Understood here: commit, branch, checkout (and -b), switch, merge, rebase, cherry-pick, reset --hard. Commits are letters rather than hashes, and a rebase moves a letter rather than minting a new one; the graph shape is identical, which is the part being practised.