Mid-rebase, your phone buzzes: a collaborator pushed 2 commits to the same feature branch. You're about to overwrite their work.
Finish your rebase, fetch their work, integrate before push. Force-with-lease will refuse.
Hard · 5 steps · +750 XP
This scenario walks through 5 steps, in order:
Try the terminal first — you learn more by doing. When you want to check yourself, here is the command for each step.
git rebase --continuegit fetch origingit push --force-with-leasegit pull --rebasegit push --force-with-leaseCommunicate before rebasing shared branches. Pull-rebase loops handle the rest.