git-prune-worktrees
CommunitySafely prune stale Git worktrees and branches.
Authort-uda
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Prune stale Git worktrees and merged branches across a repository to reduce clutter and maintenance cost.
Core Features & Use Cases
- Dry-run previews to review planned removals before applying changes.
- Safely delete merged local branches and prune stale linked worktrees.
- Respect protected branches and user-specified include/exclude patterns.
Quick Start
Run the script with a dry-run to preview actions, then rerun with --yes to apply the cleanup.
Dependency Matrix
Required Modules
None requiredComponents
scripts
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: git-prune-worktrees Download link: https://github.com/t-uda/skills/archive/main.zip#git-prune-worktrees Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.