Shaun Abram
Technology and Leadership Blog
Git rebase
Git rebase can be intimidating for newcomers, but it’s a powerful and versatile tool when you understand it.
Like git merge, rebase allows you to bring the changes from one branch into another. However instead of all those noisy commit merges you get with the merge command, rebase allows a tidier, linear commit history.
Technically, rebasing is the process of moving a branch to a new base commit, but if that isn’t clear, hopefully the diagrams and explanations below will illuminate.
Before we even start looking at rebase though, we will start with a quick review of merging.