...

/

Outline of a Simple Rebase

Outline of a Simple Rebase

To understand rebase, examine a simple visual example of it.

Commits on master branch

Let’s say you have a set of changes on a master branch:

Reminder: Git Log Diagrams

git log prefers to show the history from most recent to oldest, which is the opposite of the diagrams in this section. The git man pages like to show time from left to right like this:

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