🔀Rebase
Also known as Git Rebase
Your commits move to start from a newer point. The past reads as one line.
Think of it like
Think of it like moving your notes to the end of a list. Same notes, now after all the rest.
Example
Why it matters
Definition
Example code
console
$ git rebase main
Successfully rebased and updated refs/heads/search.
$ git log --oneline -2
85ece06 Add search
26b91bd Blue greeting