Skip to main content
在 Manus 中运行任何 Skill
一键导入

rollback

星标3
分支0
更新时间2026年7月19日 10:26

Safely revert or undo a change that is already committed or shipped, using non-destructive `git revert` (never `reset --hard`, `push --force`, or `clean`). Drives the interactive `bunx forge rollback` menu: undo the last commit, revert a commit by hash, revert a merged PR (git revert -m 1), restore individual files to a prior version, revert a commit range, or dry-run/preview first. Use when the user says roll back, revert, undo, back out, or restore — e.g. "undo the last commit", "undo that change, the approach was wrong", "back out PR #123", "revert the merge commit", "restore src/auth.js to before my last commit", or when a shipped/merged change broke something and must be pulled back. Do NOT use for: replying to or fixing PR review feedback (review), monitoring an open PR's checks toward merge (shepherd), the post-merge CI health check on master (verify), pushing a branch or opening a PR (ship), or ordinary issue status/field edits (issue-basics).

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
4 个文件
SKILL.md
readonly