I'm trying to help out a coworker who accidentally created one feature branch from another feature branch, rather than creating the second one from master. Here is essentially what we have now…
Master ---A---B---C
\
Foo E---F---F---H
\
Bar J---K---L---M
And here is what we'd like to have…
Master ---A---B---C
|\
Foo | E---F---F---H
|
Bar J---K---L---M
One way I thought of would be to create FooV2 and BarV2 branches, and cherry-pick the individual commits into the appropriate V2 branches. But I'm curious, is there a better way to handle this situation?