Remove git worktrees safely
Safely remove git worktrees that are no longer needed. Use this to clean up your workspace when you're done with a feature branch or experimental work.
/plugin marketplace add motlin/claude-code-plugins/plugin install git@motlin-claude-code-pluginsworktree paths🧹 Remove the following worktrees, as long it is possible to do so without using the --force flag.
$ARGUMENTS
git -C <worktree> status --porcelaingit -C <worktree> logJust run git worktree remove <worktree> and git will exit with an error code if it's not safe to do so and if --force is correctly ommitted.