# How to Rebase Sourcetree

> To rebase in Sourcetree, open your repository, double-click the desired branch in the Branches sidebar, select the option to rebase current changes onto Sub, and then click OK to save your changes.

Canonical: https://livedemo.ai/tutorials/how-to-rebase-sourcetree/
Apps: Sourcetree
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a4b95ab56e05a00ff6f05/preview?step=1

## Steps

1. Open your repository in Sourcetree.
2. In the 'Branches' sidebar, double-click the branch you want to rebase.
3. Click 'Rebase current changes onto Sub'.
4. Click 'OK' to save changes.
