o----o----o----o----o-----o----o----o origin/master
\ \I---F---J branch 2
\A--B--C branch 1
My goal is to introduce features from branch 1
into branch 2
and make branch2
up-to-date by rebasing on origin/master
What I'm doing is
checkout branch1
rebase origin/master
checkout branch2
rebase branch1
That's not too hard. But I thought that it would be so if I had many feature branches that I wanted to introduce changes from. Is there any better way to do such "chained rebases"?