Rebasing part of a branch
- From
- Andy Parkins <andyparkins@gmail.com>
- Date
- Nov 2, 2006, 10:45 UTC
- Message-ID
- <200611021045.25423.andyparkins@gmail.com>
Hello,
Is there a way to rebase part of a branch? For example
H---I---J topicB
/
E---F---G topicA
/
A---B---C---D masterAnd I want:
H---I---J topicB
/
| E---F---G topicA
|/
A---B---C---D masterOf course, git-checkout topicB git-rebase master
Doesn't work, because the common ancestor is D, which is master, and there is nothing to do.
Of course I can cherry-pick, but is there something like
git-rebase --limit topicA master
Or some git-magic I can work?
Andy
-- Dr Andy Parkins, M Eng (hons), MIEE