Skip to content

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

Simplify copy-ignored documentation

Maximilian Roosb71ebed80198
diff --git a/.claude-plugin/skills/worktrunk/reference/hook.md b/.claude-plugin/skills/worktrunk/reference/hook.md
index 158b33f33..adc9c29dd 100644
--- a/.claude-plugin/skills/worktrunk/reference/hook.md
+++ b/.claude-plugin/skills/worktrunk/reference/hook.md
@@ -284,15 +284,13 @@ Background processes spawned by `post-start` outlive the worktree — pair them
### Copying untracked files
-Git worktrees share the repository but not untracked files (dependencies, caches, `.env`). Use [`wt step copy-ignored`](https://worktrunk.dev/step/#wt-step-copy-ignored) to copy gitignored files:
+Git worktrees share the repository but not untracked files. [`wt step copy-ignored`](https://worktrunk.dev/step/#wt-step-copy-ignored) copies gitignored files between worktrees:
```toml
[post-create]
copy = "wt step copy-ignored"
```
-See [`wt step copy-ignored`](https://worktrunk.dev/step/#wt-step-copy-ignored) for limiting what gets copied, common patterns, and language-specific notes.
-
### Dev servers
Run a dev server per worktree on a deterministic port using `hash_port`:
diff --git a/docs/content/hook.md b/docs/content/hook.md
index cbdfc2244..7bed7f4a1 100644
--- a/docs/content/hook.md
+++ b/docs/content/hook.md
@@ -292,15 +292,13 @@ Background processes spawned by `post-start` outlive the worktree — pair them
### Copying untracked files
-Git worktrees share the repository but not untracked files (dependencies, caches, `.env`). Use [`wt step copy-ignored`](@/step.md#wt-step-copy-ignored) to copy gitignored files:
+Git worktrees share the repository but not untracked files. [`wt step copy-ignored`](@/step.md#wt-step-copy-ignored) copies gitignored files between worktrees:
```toml
[post-create]
copy = "wt step copy-ignored"
```
-See [`wt step copy-ignored`](@/step.md#wt-step-copy-ignored) for limiting what gets copied, common patterns, and language-specific notes.
-
### Dev servers
Run a dev server per worktree on a deterministic port using `hash_port`:
diff --git a/src/cli/mod.rs b/src/cli/mod.rs
index 77101ecd0..c3c31d779 100644
--- a/src/cli/mod.rs
+++ b/src/cli/mod.rs
@@ -1280,15 +1280,13 @@ Background processes spawned by `post-start` outlive the worktree — pair them
### Copying untracked files
-Git worktrees share the repository but not untracked files (dependencies, caches, `.env`). Use [`wt step copy-ignored`](@/step.md#wt-step-copy-ignored) to copy gitignored files:
+Git worktrees share the repository but not untracked files. [`wt step copy-ignored`](@/step.md#wt-step-copy-ignored) copies gitignored files between worktrees:
```toml
[post-create]
copy = "wt step copy-ignored"
```
-See [`wt step copy-ignored`](@/step.md#wt-step-copy-ignored) for limiting what gets copied, common patterns, and language-specific notes.
-
### Dev servers
Run a dev server per worktree on a deterministic port using `hash_port`: