Skip to main content

clean-worktrees

Clean git worktrees created by git-worktree-runner

Source facts

Repository
dyoshikawa/rulesync
Last source activity
July 22, 2026 at 05:39
Detected SKILL.md language
English
Stars
1,566
Forks
167

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
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.
View on GitHub