Documentationv1.4.0
undo
Replay session log in reverse to safely undo conflict resolutions.
undobash
$gitresolve undo --steps 1
The undo command rolls back resolutions by inspecting the local session history in SQLite. It restores repository HEAD and working tree state back to the exact commit snapshot recorded before the operation ran.
output
Undoing last 1 operation(s) -> resetting to 7b4c9e8f...
✓ Undo successful.
Command Options
--steps <N>Number of historical resolution operations to roll back (default: 1).