Git Rebase
Noun · Development
Definitions
A Git operation that moves or replays commits from one branch onto another base, creating a linear history without merge commits. Interactive rebase (git rebase -i) allows squashing, reordering, and editing commits. Cleaner than merge but rewrites history — never rebase commits that have been pushed to shared branches.
In plain English: Moving your branch's commits to start from the latest main branch, creating a cleaner history without merge bubbles.
Example: "Rebase your feature branch onto main before the PR — it makes the commit history clean and linear."