Help us improve
Share bugs, ideas, or general feedback.
From git-worktree
Merges current git branch to main, removes worktree, deletes branch, and closes terminal. Supports --push, --pr (GitHub PR), --no-merge, --force flags.
npx claudepluginhub himicoswilson/himi-claude-plugins --plugin git-worktreeHow this command is triggered — by the user, by Claude, or both
Slash command
/git-worktree:wt-finish [ --push | --pr | --no-merge | --force ]This command is limited to the following tools:
The summary Claude sees in its command listing — used to decide when to auto-load this command
# Worktree Finish Complete the current worktree task: merge to main, remove worktree, delete branch. ## Rules 1. **Sandbox mode** → Stop immediately. Do not execute. 2. **Always confirm** before executing. 3. Check for uncommitted changes before proceeding. ## Options | Flag | Description | |------|-------------| | (none) | Merge → Remove worktree → Delete branch → Close terminal | | `--push` | Push to remote after merge | | `--pr` | Create PR instead of merge (keeps worktree) | | `--no-merge` | Skip merge, only cleanup | | `--force` | Force delete with unmerged changes | ## Flows ##...
/wrap-upMerges specified or current PR to main with merge commit, deletes remote branch, syncs and cleans up local main/branch, handles worktrees, reports final repo state.
/worktree-cleanupCleans up Git worktree after PR completion: removes worktree and merged branch, checks PR status, warns on checklists/uncommitted changes, shows stats.
Share bugs, ideas, or general feedback.
Complete the current worktree task: merge to main, remove worktree, delete branch.
| Flag | Description |
|---|---|
| (none) | Merge → Remove worktree → Delete branch → Close terminal |
--push | Push to remote after merge |
--pr | Create PR instead of merge (keeps worktree) |
--no-merge | Skip merge, only cleanup |
--force | Force delete with unmerged changes |
Merge → Remove worktree → Delete branch → Close terminal (3s delay)
--prPush → Create PR via gh → Keep worktree (for review changes)
After PR merged: wt-finish --no-merge
--pushMerge → Push main → Remove worktree → Close terminal
--pr requires GitHub CLI: brew install gh${CLAUDE_PLUGIN_ROOT}/scripts/wt-finish.sh [options]