Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
docs(switch): note that Alt-x never forces (#3811)
Worktrunk Bot667c6efaf067
diff --git a/docs/content/switch.md b/docs/content/switch.mdindex 643b4e3ba..b95ac0f03 100644--- a/docs/content/switch.md+++ b/docs/content/switch.md@@ -79,7 +79,7 @@ The CI column shows each row's PR/MR CI and review status, the same as [`wt list| (type) | Filter worktrees || `Enter` | Switch to selected worktree || `Alt-c` | Create new worktree named as entered text |-| `Alt-x` | Remove selected worktree/branch |+| `Alt-x` | Remove selected worktree/branch (never forces) || `Alt-y` | Copy selected branch name to the clipboard || `Alt-o` | Open the selected row's PR/MR URL in the browser || `Alt-r` | Refresh the list (pick up worktrees created elsewhere) |diff --git a/plugins/worktrunk/skills/worktrunk/reference/switch.md b/plugins/worktrunk/skills/worktrunk/reference/switch.mdindex f6c481527..235b26c4d 100644--- a/plugins/worktrunk/skills/worktrunk/reference/switch.md+++ b/plugins/worktrunk/skills/worktrunk/reference/switch.md@@ -75,7 +75,7 @@ The CI column shows each row's PR/MR CI and review status, the same as [`wt list| (type) | Filter worktrees || `Enter` | Switch to selected worktree || `Alt-c` | Create new worktree named as entered text |-| `Alt-x` | Remove selected worktree/branch |+| `Alt-x` | Remove selected worktree/branch (never forces) || `Alt-y` | Copy selected branch name to the clipboard || `Alt-o` | Open the selected row's PR/MR URL in the browser || `Alt-r` | Refresh the list (pick up worktrees created elsewhere) |diff --git a/skills/worktrunk/reference/switch.md b/skills/worktrunk/reference/switch.mdindex f6c481527..235b26c4d 100644--- a/skills/worktrunk/reference/switch.md+++ b/skills/worktrunk/reference/switch.md@@ -75,7 +75,7 @@ The CI column shows each row's PR/MR CI and review status, the same as [`wt list| (type) | Filter worktrees || `Enter` | Switch to selected worktree || `Alt-c` | Create new worktree named as entered text |-| `Alt-x` | Remove selected worktree/branch |+| `Alt-x` | Remove selected worktree/branch (never forces) || `Alt-y` | Copy selected branch name to the clipboard || `Alt-o` | Open the selected row's PR/MR URL in the browser || `Alt-r` | Refresh the list (pick up worktrees created elsewhere) |diff --git a/src/cli/mod.rs b/src/cli/mod.rsindex c4e91f75c..3412f03c3 100644--- a/src/cli/mod.rs+++ b/src/cli/mod.rs@@ -684,7 +684,7 @@ The CI column shows each row's PR/MR CI and review status, the same as [`wt list| (type) | Filter worktrees || `Enter` | Switch to selected worktree || `Alt-c` | Create new worktree named as entered text |-| `Alt-x` | Remove selected worktree/branch |+| `Alt-x` | Remove selected worktree/branch (never forces) || `Alt-y` | Copy selected branch name to the clipboard || `Alt-o` | Open the selected row's PR/MR URL in the browser || `Alt-r` | Refresh the list (pick up worktrees created elsewhere) |diff --git a/tests/snapshots/integration__integration_tests__help__help_switch_long.snap b/tests/snapshots/integration__integration_tests__help__help_switch_long.snapindex 8314010b4..8cd68dcfd 100644--- a/tests/snapshots/integration__integration_tests__help__help_switch_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_switch_long.snap@@ -192,7 +192,7 @@ The CI column shows each row's PR/MR CI and review status, the same as [2mwt li(type) Filter worktrees[2mEnter[0m Switch to selected worktree[2mAlt-c[0m Create new worktree named as entered text- [2mAlt-x[0m Remove selected worktree/branch+ [2mAlt-x[0m Remove selected worktree/branch (never forces)[2mAlt-y[0m Copy selected branch name to the clipboard[2mAlt-o[0m Open the selected row's PR/MR URL in the browser[2mAlt-r[0m Refresh the list (pick up worktrees created elsewhere)