I have a branch that was built off of another branch, but should actually be a separate branch off of master (they are distinct features). Right now I believe I have this :
...- master
\
A1 - A2
\
B1
What I want is for none of the changes in the A branch to be in the B branch. The result should be:
B1
/
...-master
\
A1 - A2
So far I've tried git branch --set-upstream-to=master
and git rebase master
(while on B) but that's not doing what I want.