Back to Get Shit Done

Undo

commands/gsd/undo.md

1.40.0715 B
Original Source
<objective> Safe git revert — roll back GSD phase or plan commits using the phase manifest, with dependency checks and a confirmation gate before execution.

Three modes:

  • --last N: Show recent GSD commits for interactive selection
  • --phase NN: Revert all commits for a phase (manifest + git log fallback)
  • --plan NN-MM: Revert all commits for a specific plan </objective>

<execution_context> @/.claude/get-shit-done/workflows/undo.md @/.claude/get-shit-done/references/ui-brand.md @~/.claude/get-shit-done/references/gate-prompts.md </execution_context>

<context> $ARGUMENTS </context> <process> Execute the undo workflow from @~/.claude/get-shit-done/workflows/undo.md end-to-end. </process>