learngit

Levels need a desktop

A level is you typing real Git commands and editing files while the commit graph moves under you, all on one screen. That needs a keyboard and room for three columns.

Branches · level 2.3Detached HEAD

Open it on a laptop and you will be rebasing within the hour.

learngit
6 / 33
0 XP

Working directory

working tree cleannothing differs from the last commit
Unchanged3
a.js
b.js
c.js
A addedM modifiedU untrackedD deleted
{ }select a file to edit
commit graph
↑ history · tab complete · ⌘Z undo

Detached HEAD

+0 XP

The HEAD ring left the track and is tethered off-lane. Commits made here belong to no branch, which is exactly how people lose work. git switch main gets you back.

Next level →