Reputation: 10754
My current git history looks like this:
develop: A -- B -- C
\
feature1: D -- E
\
feature2: G -- H -- I
But, I would prefer this, instead:
feature2: G' -- H' -- I'
/
develop: A -- B -- C
\
feature1: D -- E
Can someone help me with such a rebase, as well as explain the rebase command used for me, if possible?
Upvotes: 1
Views: 166
Reputation: 10754
OK. Read the manual, and found this:
git rebase --onto develop feature1 feature2
Upvotes: 3