I have a feature branch that has too many features in it!
For example, say we have the branch foo
that has spanned too many files and items to really be just one feature.
Master ---A---B---C
\
foo E---F---G---H
commit E and F have to do with each other, commits G and H are totally different. I should have checkout
to master, then started another branch for G and H.
How would I move those commits to a new branch? This would leave commits E and F on branch foo, and commits G and H on a new branch bar
with the same parent commit C that foo
is based off.
Master ---A---B---C
|\
Foo | E---F
|
Bar G---H