Combine commits

Turn several consecutive commits into one clear commit, with a preview of the new history and a recovery point created first.

When to use it

You made a series of small commits — “wip”, “fix typo” — and want one meaningful commit before sharing the work.

Steps

  1. In All Commits, click a commit, then Ctrl-click the neighbouring commits you want to include. They must be consecutive.
  2. Right-click the selection and choose Combine 2 selected (the number matches your selection).
  3. Enter the message for the combined commit.
  4. Check the preview: the selected commits are crossed out and the new commit appears in their place.
  5. Click Combine commits.
Combine 2 commits dialog with before and after graphs

Good to know

  • The files at the branch tip stay exactly the same; only the history changes.
  • A private recovery point is created before anything is rewritten.
  • The combined commit gets a new ID, and so does every commit after it.
  • If the selected commits are already published, RepoBeam creates the combined result on a separate branch and leaves your current and remote branches unchanged.