Rebase integrates changes from the current branch to the top of the selected branch.
To use this action, right-click a branch and select New Local Branch From….
Rebase Current Branch | The branch to merge onto the current branch. |
|---|---|
Onto Branch | The current branch. |
Preserve Merges | By default, a rebase simply drops merge commits from the todo list, and puts the rebased commits into a single, linear branch. By selecting Preserve Merges, the rebase will instead try to preserve the branching structure within the commits that are to be rebased by recreating the merge commits. |
When you click OK, the output from the Git command is shown in the text box.
This may lead to these conditions: