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