Skip to content
Built here

Safe git undo

/git--undo

/git--undo is a Claude Code skill in the Code section. Checks your recent history and proposes the safest way to undo the last commit, merge, rebase or change, explaining it before running anything.

Author's description

Safely undo the last git operation with explanation

How to ask for it

  • /git--undo I committed by mistake, undo it
  • /git--undo undo the last merge without losing my changes
  • /git--undo explain how to safely revert my last git action

Install

curl -fsSL https://raw.githubusercontent.com/sgomez-dev/claude-skills/main/install.sh | bash

After installing with the script, type /git--undo. Using Cursor, Windsurf or Codex? Platform guides

Demo coming soon

↑↓ move · Enter open · Esc close