I have a question with regard to gits rebase --onto functionality.
My problem is very similar to the one described here
Where the author of that page has a branch history of:
master ---A---B---C
\
feature1 D---E---F
\
feature2 G---H
and is looking to rebase both branches onto master so that the branch history looks like:
master ---A---B---C
\
feature1 D'--E'--F'
\
feature2 G'--H'
This is achievable as described in the linked article via the command:
git rebase --onto feature1 feature1@{1} feature2
I have a similar problem, however I have two dependent feature branches instead of one.
My current branch history looks like this:
master ---A---B---C
\
intermediate D---E---F
\
feature1 G---H
\
feature2 I---J
I am wondering if it is possible to perform a rebase such that my my history is transformed into:
master ---A---B---C
\
intermediate D'---E'---F'
\
feature1 G'---H'
\
feature2 I'---J'
Can I perform a dependent rebase of two branches simultaneously?
If so, what would the syntax be for such an operation?
Thanks in advance for any responses!!