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.
maintainer
samjhecht
Updated 1/19/2026
Stars
3
Forks
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.
Installation
$ install --globalskills.sh
Usage
Once installed, you can use this skill by running the following command in your terminal:
skills use cleanup-dangling-worktrees