home/categories/git-workflows/samjhecht-wrangler-skills-cleanup-dangling-worktrees-skill-md
git-workflowsdevops

cleanup-dangling-worktrees

Clean up git worktrees whose associated feature PRs have been merged. Only removes worktrees where the PR is confirmed merged - never removes active development worktrees.

samjhecht
maintainer
samjhecht
更新于 1/19/2026
星标
3
分支
1
quick start

Installation and usage

Clean up git worktrees whose associated feature PRs have been merged. Only removes worktrees where the PR is confirmed merged - never removes active development worktrees.

安装
$ install --globalskills.sh
使用

安装后,您可以通过在终端运行以下命令来使用此技能:

skills use cleanup-dangling-worktrees