From bb7b1c00fe6babfc0701480436bdbb4c2443ef2e Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Sat, 23 May 2026 18:01:21 +0300 Subject: docs: finalize next release docs --- website/src/content/docs/cli-reference.mdx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'website/src/content/docs/cli-reference.mdx') diff --git a/website/src/content/docs/cli-reference.mdx b/website/src/content/docs/cli-reference.mdx index 6f10add3..2038ec6f 100644 --- a/website/src/content/docs/cli-reference.mdx +++ b/website/src/content/docs/cli-reference.mdx @@ -66,6 +66,19 @@ Create a workspace without stealing focus: herdr workspace create --cwd ~/project --label api --no-focus ``` +## Worktrees + +```bash +herdr worktree list [--workspace ID | --cwd PATH] [--json] +herdr worktree create [--workspace ID | --cwd PATH] [--branch NAME] [--base REF] [--path PATH] [--label TEXT] [--focus] [--no-focus] [--json] +herdr worktree open [--workspace ID | --cwd PATH] (--path PATH | --branch NAME) [--label TEXT] [--focus] [--no-focus] [--json] +herdr worktree remove --workspace ID [--force] [--json] +``` + +Worktrees are normal Herdr workspaces with Git checkout provenance. `worktree create` creates a Git worktree checkout, opens it as a workspace, and groups it with the parent repo workspace. Without `--path`, Herdr creates the checkout under `//`. + +`workspace close` closes Herdr state only. `worktree remove` is the explicit checkout deletion path; it runs `git worktree remove`, never deletes the branch, and requires `--force` when Git refuses a dirty checkout. + ## Tabs ```bash @@ -165,11 +178,13 @@ Use `wait output` for normal commands and servers. Use `wait agent-status` for c ```bash herdr integration install pi +herdr integration install omp herdr integration install claude herdr integration install codex herdr integration install opencode herdr integration install hermes herdr integration uninstall pi +herdr integration uninstall omp herdr integration uninstall claude herdr integration uninstall codex herdr integration uninstall opencode -- cgit v1.2.3