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