Clean Garden banner
yotamleo yotamleo

Clean Garden

Git community

Description

--- description: Prune merged-PR worktrees and (optionally) create a new one in the same shot argument-hint: [branch-name] [--prune-only] [--no-prune] [--no-install] [--dry-run] [--verbose] --- Combined worktree gardener. Supersedes the legacy `/new-worktree` (removed in #39) and the plugin command `/clean_gone` (still installed via `commit-commands` plugin but superseded for himmel — use `/clean_garden` instead). Default behavior: prune any non-primary worktree whose PR is merged (preferred s

Installation

Installs to ~/.claude/commands/yotamleo-himmel-clean_garden.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/yotamleo/Himmel/HEAD/.claude/commands/clean_garden.md -o ~/.claude/commands/yotamleo-himmel-clean_garden.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository