Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/site/workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ selection menu.
| Flag | Default | Description |
|------|---------|-------------|
| `--delete-branch <true\|false\|auto>` | `auto` | Delete the associated local branch. `auto` deletes only when the branch name matches the worktree name. |
| `--delete-remote <true\|false>` | `true` | Delete the remote-tracking branch when the local branch is deleted. |
| `--delete-remote <true\|false>` | `true` | Delete the branch on the origin remote (via `git push origin --delete`) when the local branch is deleted. |
| `--delete-all` | `false` | Delete every worktree (skips the selection logic). |
| `-s`, `--stash` | `false` | Stash uncommitted changes in the worktree before deleting. |
| `--stale[=Nd]` | `7d` when bare | Select idle worktrees (filesystem mtime older than the threshold) for deletion. Bare `--stale` uses the 7-day default; `--stale=30d` overrides. The `=` is required. |
Expand Down
2 changes: 1 addition & 1 deletion docs/specs/cli-surface.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ Delete one or more worktrees with optional branch cleanup.
|------|---------|-------------|
| `--worktree-name <name>` | (none) | **Deprecated**: use positional arguments instead. |
| `--delete-branch <true\|false\|auto>` | `auto` | Delete the associated local branch. `auto` deletes only when the branch name matches the worktree name. |
| `--delete-remote <true\|false>` | `true` | Delete the remote-tracking branch when the local branch is deleted. |
| `--delete-remote <true\|false>` | `true` | Delete the branch on the origin remote (via `git push origin --delete`) when the local branch is deleted. |
| `--delete-all` | `false` | Delete every worktree (skips the current selection logic). |
| `-s`, `--stash` | `false` | Stash uncommitted changes in the worktree before deleting. |
| `--non-interactive` | `false` | No prompts; use defaults. |
Expand Down
Loading