Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use Interactive Rebase in SourceTree 1.6

I have read that Sourcetree 1.6 (Mac) has the new feature "Interactive Rebase". My problem is to find this dialog in the Sourcetree App.

Any ideas?

like image 723
Andi Avatar asked May 16 '13 12:05

Andi


3 Answers

If you right-click on any commit and there will be a menu item:

Rebase children of {commit hash} interactively...

You can also go to the Repository menu and click Interactive Rebase which is not commit-specific.

like image 85
funrob Avatar answered Nov 03 '22 01:11

funrob


The latest (June 2014) Atlassian article "Interactive rebase in SourceTree" does illustrate where to find that feature:

There’s two ways to rebase interactively:

  • The first is to right-click (or context-click) on a commit and hit Rebase children ofinteractively…
  • and the second is to hit the Repository menu and go to Interactive rebase.

http://atlassian.wpengine.netdna-cdn.com/wp-content/uploads/rebase-options-soucetree.png

like image 34
VonC Avatar answered Nov 03 '22 01:11

VonC


To build on @funrob's answer, you can also hit the "Repository" menu and go to "Interactive Rebase". The difference is that the repository menu's option will rebase from the upstream commit on the current branch. Context-clicking will allow you to rebase on pushed commits so you need to be careful doing that.

HTH.

like image 4
Kezzer Avatar answered Nov 03 '22 01:11

Kezzer