DevOpsTypeScript

Git Rollback

by UfoMiao

Git Rollback is a DevOps skill for Claude Code, published by UfoMiao in zcf.

6.1K stars424 forkson UfoMiao/zcfAdded 2026/08/15Repository updated 2026/08/12
agentaiai-agentbmad-methodccrclaudeclaude-4claude-aiclaude-codecligptgpt-5llmllm-codenodejsopenaiprompttypescriptworkflowzcf
Install in seconds
Install Git Rollback
Copy Git Rollback into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/UfoMiao/zcf/tree/main/templates/skills/en/git-rollback ~/.claude/skills/git-rollback

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/UfoMiao/zcf.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
templates/skills/en/git-rollback/SKILL.md in UfoMiao/zcf
Installs to
~/.claude/skills/git-rollback
Collection
One of 20 skills cataloged from this repository
Category
DevOps798 skills

What Git Rollback does

Git Rollback interactively lists branches and recent versions, then resets or reverts a selected branch after confirmation. Use it to safely undo bad commits or deploy a previous version without losing history.

Git Rollback is cataloged under DevOps on DirSkills. Git Rollback comes from a repository tagged agent, ai, ai-agent, bmad-method and ccr.

Documentation

README

Claude Command: Git Rollback

Purpose: Safely and visually rollback a specified branch to an older version. Defaults to read-only preview (--dry-run); actual execution requires --yes or interactive confirmation.


Usage

# Pure interactive: list branches → select branch → list recent 20 versions → select target → choose reset or revert → confirm
/git-rollback

# Specify branch, other interactive
/git-rollback --branch feature/calculator

# Specify branch and target commit, execute with hard-reset in one go (dangerous)
/git-rollback --branch main --target 1a2b3c4d --mode reset --yes

# Generate revert commit only (non-destructive rollback), preview
/git-rollback --branch release/v2.1 --target v2.0.5 --mode revert --dry-run

Options

This is the opening of the README. Read the full README on GitHub.

Commands Git Rollback provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /git-rollback

Frequently asked about Git Rollback

  • What else does UfoMiao publish alongside Git Rollback?

    Git Rollback is one of 20 skills that DirSkills catalogs from UfoMiao/zcf, the repository it ships in. Its siblings there include BMad Init, BMad Init and Feature Development. Each one is a separate skill with its own page in this directory, installs the same way Git Rollback does, and is maintained by UfoMiao in that same repository. The rest of the collection is listed on the UfoMiao/zcf page.

  • How does Git Rollback compare to other DevOps skills?

    Git Rollback ranks #133 by stars among the 798 DevOps skills in this catalog. The most-starred ones next to it are Backend Patterns, API Connector Builder and Migration. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Git Rollback against them. Open each page to compare what they document and how they install.

More from UfoMiao/zcf

Git Rollback is one of 20 skills cataloged on DirSkills from UfoMiao/zcf.

See all 20 skills
🚀
2w ago

BMad Init

BMad Init initializes or updates BMad-Method (V6) in a project, running the official installer, fixing known output folder bugs, and updating .gitignore. Use it for fresh installs, quick updates, or legacy V4 migration.
AI Engineering
6.1K424
🚀
2w ago

BMad Init

BMad Init initializes or updates BMad-Method V6 in a project, checking for legacy V4 installations and running the appropriate non-interactive installer. It also fixes known installer output-folder issues and keeps .gitignore aligned with V6.
AI Engineering
6.1K424
🛠️
2w ago

Feature Development

Feature Development turns a new feature request into a plan, discussion, and execution workflow. It uses planning and design agents to produce implementation documents and guide development.
AI Engineering
6.1K424
🗂️
2w ago

Feature Planning

Feature Planning analyzes incoming requests to determine whether they are requirement planning, discussion iteration, or execution implementation. It then generates planning documents and coordinates agents to add new features, ensuring frontend tasks have UI designs before development.
AI Engineering
6.1K424
🧹
2w ago

Git Clean Branches

Git Clean Branches safely identifies and cleans up merged or stale Git branches with dry-run mode and protected branch configuration. It helps keep repositories clean without risking accidental deletion of important branches.
DevOps
6.1K424
🧹
2w ago

Git Clean Branches

Git Clean Branches identifies and safely deletes merged or stale Git branches, defaulting to a dry-run preview. Use it to clean local and remote branches after merges or inactivity.
DevOps
6.1K424