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

git-refresh

星标30
分支7
更新时间2026年7月12日 14:25

Refresh a local git repo back to a clean current default branch: fetch/prune, detect the remote HEAD, fast-forward main/master by --ff-only, delete merged local branches, and offer gated cleanup for upstream-gone, squash-merged, stale, or force-delete branch pruning. Use when the user asks to clean up branches, refresh main, refresh master, delete merged branches, get back to a clean main, prune stale local branches, or tidy local branches after merged PRs. Invoke only on that explicit request in the current turn; noticing stale or merged branches during other work leaves the cleanup to the user.

安装

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

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