This is my current tree:
... O (master)
|
+- O (feat-A branch)
|
+- O ... O (feat-B branch)
It seems that I can't rebase feat-B branch to master(to make it directly under master branch without Feat-A branch commits) for pull request to remote fork like this:
... O (master)
|
+- O (feat-A branch)
|
+- O ... O (feat-B branch)
Feat-A branch and Feat-B branch has no overlapped changes of each other, so what command should I use to achieve to above result? I tried git rebase master
on Feat-B branch but it does nothing. With Interactive rebase, I can't drop commits that belong to Feat-A branch.