The model finds the fork point, selects feature commits not on main, recreates them in order with new parents and IDs, and finally moves the feature pointer. Main does not move.
The playground does not model files, patches, the index, conflicts, reflog, or garbage collection. Commit IDs are stable six-character teaching labels, not real hashes.
Common questions and answers about this topic.
Choose a scenario, optionally add or remove commits at the main and feature tips, then start rebase. Use Previous, Play, and Next to inspect every immutable step.
A commit identifies its content, metadata, and parent relationship. Replaying it on a different parent creates a different commit even when the patch is similar.
No. The entire graph is a browser-only teaching model. The copied command is plain text and is never executed.