I have a feature branch that has not yet been merged. I need to create a new branch from Master but I want it to also include the changes from my as of yet unmerged feature branch.
I do not want to branch off my feature branch, how can I do this?
master
~ branch A (not yet merged)
~ branch B (new branch which includes changes from branch A)
I was thinking I should perhaps branch from master and then rebase my new branch against branch A?
When I eventually merge branch B after branch A, the changes should only show the branch B changes as branch A has already been merged - is this correct?