Abort Rebase Fill
Fill in the Blank Medium
Question
Fill in the blank to abort a rebase and return to the original state.
Code
git rebase ___
Hint
The flag to cancel a rebase starts with --abort.
Explanation
git rebase --abort cancels an in-progress rebase, restoring the branch to its state before the rebase started. This is useful when a rebase hits conflicts you do not want to resolve right now. The counterpart is git rebase --continue after resolving conflicts.
Related Resources
Related Lessons
Related Cheatsheets
Look up unfamiliar terms
A beginner-friendly glossary explains jargon in plain English — variables, functions, DOM, Promise, and more.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.
Build real projects
Apply what you learned by building guided projects with starter code and solutions.