Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

docs(step): prefix the copy-ignored --require-include example with $ (#3706)

Worktrunk Boteddd280ce1c1
diff --git a/docs/content/step.md b/docs/content/step.md
index 50a7580c8..c0db7351d 100644
--- a/docs/content/step.md
+++ b/docs/content/step.md
@@ -536,9 +536,7 @@ exclude = [".cache/", ".turbo/"]
To copy nothing unless `.worktreeinclude` exists — matching Claude Code desktop, where the file is required — pass `--require-include`:
-```bash
-wt step copy-ignored --require-include
-```
+{{ terminal(cmd="wt step copy-ignored --require-include") }}
Without `.worktreeinclude`, the command is a no-op (it reports that nothing was copied and why). With the file present, only matching files copy as above. To apply this across every repository, put the flag in a user-config hook: `post-start = "wt step copy-ignored --require-include"`.
diff --git a/plugins/worktrunk/skills/worktrunk/reference/step.md b/plugins/worktrunk/skills/worktrunk/reference/step.md
index c948c3436..dea4e4d67 100644
--- a/plugins/worktrunk/skills/worktrunk/reference/step.md
+++ b/plugins/worktrunk/skills/worktrunk/reference/step.md
@@ -556,7 +556,7 @@ exclude = [".cache/", ".turbo/"]
To copy nothing unless `.worktreeinclude` exists — matching Claude Code desktop, where the file is required — pass `--require-include`:
```bash
-wt step copy-ignored --require-include
+$ wt step copy-ignored --require-include
```
Without `.worktreeinclude`, the command is a no-op (it reports that nothing was copied and why). With the file present, only matching files copy as above. To apply this across every repository, put the flag in a user-config hook: `post-start = "wt step copy-ignored --require-include"`.
diff --git a/skills/worktrunk/reference/step.md b/skills/worktrunk/reference/step.md
index c948c3436..dea4e4d67 100644
--- a/skills/worktrunk/reference/step.md
+++ b/skills/worktrunk/reference/step.md
@@ -556,7 +556,7 @@ exclude = [".cache/", ".turbo/"]
To copy nothing unless `.worktreeinclude` exists — matching Claude Code desktop, where the file is required — pass `--require-include`:
```bash
-wt step copy-ignored --require-include
+$ wt step copy-ignored --require-include
```
Without `.worktreeinclude`, the command is a no-op (it reports that nothing was copied and why). With the file present, only matching files copy as above. To apply this across every repository, put the flag in a user-config hook: `post-start = "wt step copy-ignored --require-include"`.
diff --git a/src/cli/step.rs b/src/cli/step.rs
index 780919232..de8783190 100644
--- a/src/cli/step.rs
+++ b/src/cli/step.rs
@@ -336,7 +336,7 @@ exclude = [".cache/", ".turbo/"]
To copy nothing unless `.worktreeinclude` exists — matching Claude Code desktop, where the file is required — pass `--require-include`:
```console
-wt step copy-ignored --require-include
+$ wt step copy-ignored --require-include
```
Without `.worktreeinclude`, the command is a no-op (it reports that nothing was copied and why). With the file present, only matching files copy as above. To apply this across every repository, put the flag in a user-config hook: `post-start = "wt step copy-ignored --require-include"`.