December 2019
Beginner to intermediate
770 pages
16h 14m
English
Instead of merge, you can use the rebase command. As the name suggests, you take the branch, cut it from the tree, and rebase it on another commit. In this way, you can base your changes on the new version without merging. The following diagram shows this:

All of the commits between the original base and the branch head (the starting point of a branch) will be taken and reapplied to the new base. Again, you gain simplicity, but you lose reality because you are influencing the history.
Read now
Unlock full access