Skip to content

Instantly share code, notes, and snippets.

@anddam
Created January 25, 2017 19:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anddam/ba60bee6ad18d7ef02a02d95cd248f62 to your computer and use it in GitHub Desktop.
Save anddam/ba60bee6ad18d7ef02a02d95cd248f62 to your computer and use it in GitHub Desktop.

From git-rebase(1) starting from

                 A---B---C topic
                /
           D---E---F---G master

running git rebase master or git rebase master topic results in

                         A'--B'--C' topic
                        /
           D---E---F---G master

How can the following be obtained instead?

           D---E---F---G---A'--B'--C' master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment