How to move commits from one branch to another with git rebase onto
22 March 2019
You’ve branched off a branch. Unfortunately the original branch is not ready to be merged and you need to promote your branch to a first class citizen, branched off of master.
However, when you raise the pull request for the second branch, you get all the changes from the first! Of course it does - you’ve branched off a branch!
You could wait till the original branch is ready, but alternatively, you can use git rebase
to help you.