Code Safari

Chapter 107·Intermediate

Rebase vs Merge: What's the Difference?

01 / 06

The core idea

Two ways to combine work.

Merge joins two lines with a merge commit. Rebase replays your commits on top of another branch, as if you'd started from there.

Rebase vs Merge: What's the Difference? | Code Safari