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.

Remotes · level 6.4Pull with rebase

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

learngit
24 / 33
0 XP

Working directory

working tree cleannothing differs from the last commit
Unchanged3
README.md
app.js
search.js
A addedM modifiedU untrackedD deleted
{ }select a file to edit
origin, the server
You haven’t fetched.Nothing on your machine can tell you what is up here. Run git fetch.
your machine
↑ history · tab complete · ⌘Z undo

Pull with rebase

+0 XP

Your commit got a new hash, because its parent changed. This is the same copy-not-move rule from Chapter 4. This is safe here precisely because that commit had never left your machine.

Next level →