gsd/undo
Safe git revert: rolls back a phase's or a plan's commits, using the phase manifest with dependency checks.
- Kind
- Prompt
- Works with
- Claude Code, Gemini / Antigravity
- Source
- gsd-build/get-shit-done @ bdcaab2c752d
- Path
- commands/gsd/undo.md
- License
- MIT
- Jobs
- Git workflow
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
<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 end-to-end. </process>