I have a master branch a few topic branches. For each topic branch I actually keep two version. topicX and topicX-rebase. topicX merges from master whenever there is a new release. topicX-rebase is a continous rebase on top of master.
I'd like an "all" branch which contains all of the topic commits, on top of master, with not merges. How can I do this?
One thing that gives me what I want is to
Code:
$ git checkout -b all master
$ git merge topicA-rebase
$ git merge topicB-rebase
$ # resolve conflicts
$ git merge topic...
$ resolve conflicts...
$ git rebase master
$ # resolve conflicts AGAIN
This can get pretty tedious. I guess I don't mind fixing the conflicts once, but twice is a PITA. Any options here?