Git Branch & Rebase Visualizer
Educational step-through of common Git workflows. Each step shows the commit graph, the exact command, and a one-line explanation.
~~~
Scenario
Step /
~~~
About this tool
Merge preserves history and is safe for shared branches.Rebase rewrites commits for a linear log — great for local cleanup before opening a PR, but never rebase commits others have pulled.
Golden rule: do not rebase shared branches. After a rebase you mustgit push --force-with-lease, which rewrites remote history.
Share a scenario step via ?s=scenario-id&step=n.
~~~