Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Interactive rebase to reword previous commits

D K
Contributor
August 6, 2013

Can SourceTree do an interactive rebase with reword?

I need to change the commit messages for a number of previous commits.

Unfortunately I cannot use commit ammend because it is not just the last commit.

2 answers

1 accepted

0 votes
Answer accepted
D K
Contributor
August 13, 2013

Ok. I can swee this on Mac but not on Windows version

KieranA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 13, 2013

The Mac and Windows SourceTree are completely independent products. Windows is catching up to what the Mac does at the moment. Interactive rebase isn't implemented yet in Windows but should be in the future.

Hope that helps

0 votes
KieranA
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 6, 2013

Hi D K,

Sure thing! SourceTree 1.6 supports interactive rebasing, just context-click on the commit you wish to rebase from (or hit the Repository menu and hit "Interactive Rebase") and then double click on the message column which opens a popup so you can change your commit message. Hit OK on that and it'll run through the commits.

Make sure you don't do this on already pushed commits though as it'll cause problems for people pulling those changes later on.

Hope that helps

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events