Agent skill

git-undo

Undo the last commit while keeping changes staged. Use when you need to fix a commit message or add missing files.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/git-undo

SKILL.md

Git Undo

Undo the last commit but keep changes staged.

  1. Undo the last commit but keep the file changes in the staging area.
    • Command: git reset --soft HEAD~1
    • This allows you to fix the commit message or add missing files before committing again.

Didn't find tool you were looking for?

Be as detailed as possible for better results