I have the following commit history:
* c742f81 (HEAD -> new_feature) x8
* 1869290 x7
* 697809b x6
* a61e55c x5
|\
| * da890d6 (master) n6
| * ccc8f5e n5
| * 0095064 n4
| * 002ab13 n3
| * cb93dc4 m4
| * ccaa631 m3
* | 714da58 x4
* | ea11b0d x3
* | 66f1582 x2
* | 3e96100 x1
|/
* 4f46723 m2
* ce576e8 1
As you can see, I have master
branch on n6
and new_feature
branch on x8
. I run git rebase -i master new_feature
and I got this:
pick 3e96100 x1
pick 66f1582 x2
pick ea11b0d x3
pick 714da58 x4
pick 697809b x6
pick 1869290 x7
pick c742f81 x8
Rebase `da890d6..c742f81` onto `714da58` (7 commands)
Now,
why I am getting 714da58
? Should not it be da890d6
?
Also, where is x5
(Git should rebase the commits that were merged in x5)?