Skip to content

Instantly share code, notes, and snippets.

@cxreg
Created September 1, 2009 16:54
Show Gist options
  • Save cxreg/179218 to your computer and use it in GitHub Desktop.
Save cxreg/179218 to your computer and use it in GitHub Desktop.
(master)
A---B---C---E---F
\
D---G---H
(feature)
git rebase --onto master D feature
(master)
D---G---H
/
A---B---C---E---F
\
G'---H'
(feature)
git co master && git merge feature
(master)
A---B---C---E---F---G'---H'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment