vendredi 11 septembre 2015

Split up latest commits into multiple branches

I'm aware of several questions on the subject, but I didn't find any that address this situation. The trick is that I need to pull one commit out from between two others.

My repo looks like this:

A - B - C     <- master
          \
            D  <- devel

and I want it to look like this:

    C  <- feature1
  /
A
  \
    B - D  <- feature2

I know I can probably use rebase for this, but after a year of using Git I'm still not clear on all the jargon.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire