AGENT SKILL

git-undo

Use this skill when the user wants to undo git changes — revert commits, unstage files, or discard working directory changes.

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

name
git-undo
description
Use this skill when the user wants to undo git changes — revert commits, unstage files, or discard working directory changes.

03 SKILL.md 正文

git-undo Plugin

git-undo provides smart git undo operations.

Commands

  • git-undo <resource> <action> — Execute git-undo commands
  • git-undo self version — Print git-undo version
  • git-undo _ _ — Passthrough to git-undo CLI

Usage Examples

  • "undo the last commit"
  • "unstage all staged files"
  • "discard changes in working directory"
  • "undo a specific commit by hash"

Installation

npm install -g git-undo

Key Features

  • Smart undo for all git states
  • Commit revert with history
  • Unstage and discard operations
  • Reflog awareness for safety
  • Interactive confirmation prompts

04 同仓库更多 Skills