Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
docs: promote PR/MR support out of experimental (#1114)
Maximilian Roosaed750e85e88
diff --git a/docs/content/switch.md b/docs/content/switch.mdindex ddde8885a..5006178ea 100644--- a/docs/content/switch.md+++ b/docs/content/switch.md@@ -114,7 +114,7 @@ pager = "delta --paging=never --width=$COLUMNS"Available on Unix only (macOS, Linux). On Windows, use `wt list` or `wt switch <branch>` directly.-## GitHub pull requests (experimental)+## GitHub pull requestsThe `pr:<number>` syntax resolves the branch for a GitHub pull request. For same-repo PRs, it switches to the branch directly. For fork PRs, it fetches `refs/pull/N/head` and configures `pushRemote` to the fork URL.@@ -126,7 +126,7 @@ Requires `gh` CLI to be installed and authenticated. The `--create` flag cannot**Fork PRs:** The local branch uses the PR's branch name directly (e.g., `feature-fix`), so `git push` works normally. If a local branch with that name already exists tracking something else, rename it first.-## GitLab merge requests (experimental)+## GitLab merge requestsThe `mr:<number>` syntax resolves the branch for a GitLab merge request. For same-project MRs, it switches to the branch directly. For fork MRs, it fetches `refs/merge-requests/N/head` and configures `pushRemote` to the fork URL.diff --git a/skills/worktrunk/reference/switch.md b/skills/worktrunk/reference/switch.mdindex 5904e9556..c689cfaf7 100644--- a/skills/worktrunk/reference/switch.md+++ b/skills/worktrunk/reference/switch.md@@ -92,7 +92,7 @@ pager = "delta --paging=never --width=$COLUMNS"Available on Unix only (macOS, Linux). On Windows, use `wt list` or `wt switch <branch>` directly.-## GitHub pull requests (experimental)+## GitHub pull requestsThe `pr:<number>` syntax resolves the branch for a GitHub pull request. For same-repo PRs, it switches to the branch directly. For fork PRs, it fetches `refs/pull/N/head` and configures `pushRemote` to the fork URL.@@ -104,7 +104,7 @@ Requires `gh` CLI to be installed and authenticated. The `--create` flag cannot**Fork PRs:** The local branch uses the PR's branch name directly (e.g., `feature-fix`), so `git push` works normally. If a local branch with that name already exists tracking something else, rename it first.-## GitLab merge requests (experimental)+## GitLab merge requestsThe `mr:<number>` syntax resolves the branch for a GitLab merge request. For same-project MRs, it switches to the branch directly. For fork MRs, it fetches `refs/merge-requests/N/head` and configures `pushRemote` to the fork URL.diff --git a/src/cli/mod.rs b/src/cli/mod.rsindex 5802de3fc..e91e90554 100644--- a/src/cli/mod.rs+++ b/src/cli/mod.rs@@ -341,7 +341,7 @@ pager = "delta --paging=never --width=$COLUMNS"Available on Unix only (macOS, Linux). On Windows, use `wt list` or `wt switch <branch>` directly.-## GitHub pull requests (experimental)+## GitHub pull requestsThe `pr:<number>` syntax resolves the branch for a GitHub pull request. For same-repo PRs, it switches to the branch directly. For fork PRs, it fetches `refs/pull/N/head` and configures `pushRemote` to the fork URL.@@ -353,7 +353,7 @@ Requires `gh` CLI to be installed and authenticated. The `--create` flag cannot**Fork PRs:** The local branch uses the PR's branch name directly (e.g., `feature-fix`), so `git push` works normally. If a local branch with that name already exists tracking something else, rename it first.-## GitLab merge requests (experimental)+## GitLab merge requestsThe `mr:<number>` syntax resolves the branch for a GitLab merge request. For same-project MRs, it switches to the branch directly. For fork MRs, it fetches `refs/merge-requests/N/head` and configures `pushRemote` to the fork URL.diff --git a/tests/snapshots/integration__integration_tests__help__help_switch_long.snap b/tests/snapshots/integration__integration_tests__help__help_switch_long.snapindex b5483c165..78c78643f 100644--- a/tests/snapshots/integration__integration_tests__help__help_switch_long.snap+++ b/tests/snapshots/integration__integration_tests__help__help_switch_long.snap@@ -185,7 +185,7 @@ When called without arguments, [2mwt switch[0m opens an interactive picker toAvailable on Unix only (macOS, Linux). On Windows, use [2mwt list[0m or [2mwt switch <branch>[0m directly.-[1m[32mGitHub pull requests (experimental)[0m+[1m[32mGitHub pull requests[0mThe [2mpr:<number>[0m syntax resolves the branch for a GitHub pull request. For same-repo PRs, it switches to the branch directly. For fork PRs, it fetches [2mrefs/pull/N/head[0m and configures [2mpushRemote[0m to the fork URL.@@ -195,7 +195,7 @@ Requires [2mgh[0m CLI to be installed and authenticated. The [2m--create[0m[1mFork PRs:[0m The local branch uses the PR's branch name directly (e.g., [2mfeature-fix[0m), so [2mgit push[0m works normally. If a local branch with that name already exists tracking something else, rename it first.-[1m[32mGitLab merge requests (experimental)[0m+[1m[32mGitLab merge requests[0mThe [2mmr:<number>[0m syntax resolves the branch for a GitLab merge request. For same-project MRs, it switches to the branch directly. For fork MRs, it fetches [2mrefs/merge-requests/N/head[0m and configures [2mpushRemote[0m to the fork URL.