History

Combine commits

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

  • 2 min read
  • RepoBeam 1.8
  • Windows & Linux
Combine 2 commits dialog with a message, Before and After graphs, and what will change

In short

  • Select neighbouring commits and write one message for them.
  • The files at the tip of the branch stay exactly the same; only history changes.
  • A private recovery point is saved before anything is rewritten.

Step by step

  1. Select the commits

    In All Commits, click a commit, then Ctrl-click the neighbouring commits you want to include. They must be consecutive.

  2. Choose Combine

    Right-click the selection and choose Combine 2 selected. The number matches your selection.

  3. Write the message and check the preview

    Enter the message for the combined commit. The preview crosses out the selected commits and shows the new commit in their place.

  4. Confirm

    Click Combine commits.

Good to know

  • New IDsThe combined commit gets a new ID, and so does every commit after it.
  • Already pushed?If the selected commits are published, RepoBeam creates the combined result on a separate branch and leaves your branch and the remote unchanged.