• Free Public and local repositories, every feature.
  • Pro Private repositories on GitHub, GitLab and Bitbucket, with a 14-day trial.
A diff in Wyrm with two hunks ticked and the Split action ready to move them into a new commit.
fig. 1 · diff · split selected hunks

vpxlnosq · commit

How it works

  1. Pick the lines

    Select a revision and tick the hunks you want in its diff.

  2. Choose the move

    Split them into a new commit, squash them into the parent, restore them, or move them to another revision. Absorb sends working-copy changes to the ancestors that last touched those lines.

  3. Let jj rebase the rest

    Descendants rebase automatically and keep their change IDs. The whole step is one entry in the operation log, if you want it back.

xlnosqvp · branch

What's included

  • Split, squash, restore and move, per hunk
  • Absorb into ancestors, from the working copy
  • Edit in this revision… rewrites one file in any revision
  • Rebase and reorder by selecting commits
  • Describe several revisions at once
  • Abandon, duplicate and revert from the revision menu

nosqvpxl · HEAD

Availability

Free
Public and local repositories, every feature.
Pro
Private repositories on GitHub, GitLab and Bitbucket, with a 14-day trial.