

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Still calibrating
click for more info
Not enough gems
Cost: 6 gems
1: Rebase Conflicts
incomplete
2: Make the Conflict
incomplete
3: Resolve the Conflict
incomplete
4: Deleted Commit
incomplete
5: Cleanup
incomplete
6: Repeat Resolution Setup
incomplete
7: RERERE
incomplete
8: Merge Back In
incomplete
9: Accidental Commit
incomplete
Back
ctrl+,
Next
ctrl+.
This lesson's interactive features are locked, please to keep using them
You know how with merge conflicts you commit the resolution, but with rebase conflicts you --continue the resolution?
I cannot tell you how many times I have accidentally committed the resolution of a rebase conflict...
If you accidentally commit the resolution of a rebase conflict, just:
git reset --soft HEAD~1
The --soft flag will keep your changes, and just undo the commit. Then you can simply --continue the rebase as normal.