Skip to content

Rebasing

Replaying commits onto a new base — linear or interactive — with the safety net on the whole time.

This page is being expanded

The full walkthrough is on its way. Here's the outline of what it covers; the Features list has the short version in the meantime.

What this page will cover

  • Linear rebase onto any branch, including working through multi-commit conflict sequences and skipping a commit mid-sequence.
  • Interactive rebase — a drag-to-reorder planner (pick / edit / squash / fixup / drop) that you arrange before it ever touches your history.
  • How conflicts during a rebase hand off to the 3-way resolver.
  • Why a rebase is safe to try here: a snapshot is pinned first, so ⌘Z undoes the whole rebase in one step.

Released under the GNU General Public License v3.0 or later.