Agent Skills: Git Undo

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

UncategorizedID: toilahuongg/shopify-agents-kit/git-undo

Install this agent skill to your local

pnpm dlx add-skill https://github.com/toilahuongg/Shopify-Agents-Kit/tree/HEAD/.claude/skills/git-undo

Skill Files

Browse the full folder contents for git-undo.

Download Skill

Loading file tree…

.claude/skills/git-undo/SKILL.md

Skill Metadata

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

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.