Promptles
Git & Collaboration

Rebase

intermediate

Definition

Picking up your work-in-progress and placing it neatly on top of someone else's latest changes, so the project's history stays in a clean straight line. It's a tidier alternative to merging when you want the timeline of changes to read in a simple, linear way.

In the wild

A developer started a new feature on Monday. By Friday, the team's main version has moved on with new updates. Instead of merging in messily, she rebases: replaying her week of work on top of the latest team version, so it looks like she just finished her work this morning.

More from Git & Collaboration