50% off your 1st seat of GitKraken Pro — only $4/month!

Learn Git: What is Git Rebase?

Intermediate Git Tutorial

Git rebase is an action that allows you to rewrite commits from one source branch onto the top of a target branch. When comparing Git rebase vs merge, rebase allows for a cleaner, more linear repo history.

Watch this intermediate Git tutorial video to see how to Git rebase using commands in the terminal, before comparing the experience of rebasing using the GitKraken Git client. Learn how to rebase Git branches to rewrite commits from one branch onto another, and how to verify your work, in the command line. Then, see how quick and simple it is to rebase with GitKraken in just a few clicks.

Additional Resources

Table of Contents

Make Git Easier, Safer &
More Powerful

with GitKraken

Visual Studio Code is required to install GitLens.

Don’t have Visual Studio Code? Get it now.