● Chapter 6 · 0 of 8 done
Rebase
Rebasing, interactive rebase and merge strategies.
Start chapter 6 →- Rebase onto mainReplay your commits on top of the newest main.
- A conflict while rebasingSolve it, continue, and mind which side is which.
- Pull without a merge bubblePut your commit on top of your teammate’s.
- Rewrite your own historyRename and reorder commits before others see them.
- Squash your correctionsFold small fixes into the commits they belong to.
- Push a rebased branchReplace your own branch on the server, safely.
- Choose how to mergeKeep a merge commit for one branch, squash another.
- Move a branch off anotherTake only your commits, leave the unfinished ones behind.