Outline of a Simple Rebase
Explore how to perform a simple Git rebase to simplify your commit history by moving feature branch changes onto the master branch. Understand the advantages over merging, such as cleaner history and easier bug tracking. This lesson helps you grasp the basic rebase concept to manage branches more effectively and maintain a tidy project history.
Commits on master branch
Let’s say you have a set of changes on a master branch:
Reminder: Git Log Diagrams
git logprefers to show the history from most recent to oldest, which is the opposite of the diagrams in this section. Thegit manpages like to show time from left to right like this:A'--B'--C' topic / D---E---F---G master