Stage reverse patches for a range and commit later.
Section: Undo, Reset, Revert, and Recovery
Revert range without committing
bash
bash
git revert --no-commit A^..BLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Undo, Reset, Revert, and Recovery