Skip to content

Instantly share code, notes, and snippets.

@statico
Created March 16, 2010 18:22
Show Gist options
  • Save statico/334324 to your computer and use it in GitHub Desktop.
Save statico/334324 to your computer and use it in GitHub Desktop.
Assume the following history exists and the current branch is "topic":
A---B---C topic
/
D---E---F---G master
From this point, the result of either of the following commands:
git rebase master
git rebase master topic
would be:
A´--B´--C´ topic
/
D---E---F---G master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment