git rebase

say it: “GIT REE-bays” /ɡɪt ˈriˌbeɪs/

Replays commits onto a new base and replaces them with newly created commits.

What does git rebase do?

git rebase — Replays commits onto a new base and replaces them with newly created commits.

git rebase main

Level: Journeyman · More Git terms at this level

Updated