git-undo-wizard

Installation
SKILL.md

Git Undo Wizard

Recover from any Git mistake safely.

When to Use

  • Accidentally committed to wrong branch
  • Need to undo a commit (before or after push)
  • Accidentally deleted a branch or file
  • Need to recover lost commits
  • Want to undo a merge
  • Committed sensitive data by mistake

Quick Reference

Situation Command
Undo last commit, keep changes git reset --soft HEAD~1
Undo last commit, discard changes git reset --hard HEAD~1
Related skills
Installs
8
GitHub Stars
3
First Seen
Feb 4, 2026