Skip to main content

clean-worktrees

Clean git worktrees created by git-worktree-runner

来源信息

仓库
dyoshikawa/rulesync
最近来源活动
2026年7月22日 05:39
检测到的 SKILL.md 语言
英语
星标
1,566
Forks
167

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
clean-worktrees
description
Clean git worktrees created by git-worktree-runner
targets
["*"]
1. Run `git gtr list` to list all worktrees. 2. For each worktree branch that is NOT the default branch (e.g. main), run `git gtr rm --force {branch}` to remove it. 3. Run `git pull --prune` to fetch latest changes and prune deleted remote branches.
在 GitHub 查看