#1815 Rebase of more than one commits
Closed: Invalid Opened by rahulbajaj.

When i rebase two commits, it shows "Two commits added" rather than "Rebased".

Screenshot_from_2017-01-28_02-43-16.png


Did you rebased both or rebased one and added another one?

Did you rebased both or rebased one and added another one?

@pingou Rebased both :)

Just out of curiosity, is it possible to rebase only one commit out of the two ?

@rahulbajaj it is possible to rebase only one of the two, if you split them to different branches, you always rebase a branch not commits.

@pingou i had two commits made in a single branch :
a) [RFE] Change name of Preview Button when showing Preview
b) Fix the name of pull_request comment button

I had to make some changes in a), which i did. After which i rebased my branch and opened the
pr page and i saw "Two commits added" rather than "Rebased".

But you changed the first commit, so it's like you pushed two new commits instead of actually rebasing, thus that message.

Ah! i saw the code for it, thanks for the explanation :)

@rahulbajaj changed the status to Closed

Metadata