Skip to content

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

docs(config): name the bare repo's own location in the worktree-path example (#4006)

Worktrunk Bot51fd3b2b7e65
diff --git a/dev/config.example.toml b/dev/config.example.toml
index 95c306457..b83d81791 100644
--- a/dev/config.example.toml
+++ b/dev/config.example.toml
@@ -50,7 +50,7 @@
#
# worktree-path = "~/development/{{ owner }}/{{ repo }}/{{ branch }}"
#
-# Bare repository (`~/code/myproject/feature-auth`):
+# Bare repository cloned to `~/code/myproject/.git` (`~/code/myproject/feature-auth`):
#
# worktree-path = "{{ repo_path }}/../{{ branch | sanitize }}"
#
diff --git a/docs/src/content/docs/config.md b/docs/src/content/docs/config.md
index b0a22c9e6..675a9f934 100644
--- a/docs/src/content/docs/config.md
+++ b/docs/src/content/docs/config.md
@@ -129,7 +129,7 @@ By remote owner path (`~/development/max-sixty/myproject/feature/auth`):
worktree-path = "~/development/{{ owner }}/{{ repo }}/{{ branch }}"
```
-Bare repository (`~/code/myproject/feature-auth`):
+Bare repository cloned to `~/code/myproject/.git` (`~/code/myproject/feature-auth`):
```toml
worktree-path = "{{ repo_path }}/../{{ branch | sanitize }}"
diff --git a/plugins/worktrunk/skills/worktrunk/reference/config.md b/plugins/worktrunk/skills/worktrunk/reference/config.md
index 297177fb1..a3bf26f24 100644
--- a/plugins/worktrunk/skills/worktrunk/reference/config.md
+++ b/plugins/worktrunk/skills/worktrunk/reference/config.md
@@ -123,7 +123,7 @@ By remote owner path (`~/development/max-sixty/myproject/feature/auth`):
worktree-path = "~/development/{{ owner }}/{{ repo }}/{{ branch }}"
```
-Bare repository (`~/code/myproject/feature-auth`):
+Bare repository cloned to `~/code/myproject/.git` (`~/code/myproject/feature-auth`):
```toml
worktree-path = "{{ repo_path }}/../{{ branch | sanitize }}"
diff --git a/skills/worktrunk/reference/config.md b/skills/worktrunk/reference/config.md
index 297177fb1..a3bf26f24 100644
--- a/skills/worktrunk/reference/config.md
+++ b/skills/worktrunk/reference/config.md
@@ -123,7 +123,7 @@ By remote owner path (`~/development/max-sixty/myproject/feature/auth`):
worktree-path = "~/development/{{ owner }}/{{ repo }}/{{ branch }}"
```
-Bare repository (`~/code/myproject/feature-auth`):
+Bare repository cloned to `~/code/myproject/.git` (`~/code/myproject/feature-auth`):
```toml
worktree-path = "{{ repo_path }}/../{{ branch | sanitize }}"
diff --git a/src/cli/mod.rs b/src/cli/mod.rs
index b579a1c9b..67d290609 100644
--- a/src/cli/mod.rs
+++ b/src/cli/mod.rs
@@ -2023,7 +2023,7 @@ By remote owner path (`~/development/max-sixty/myproject/feature/auth`):
worktree-path = "~/development/{{ owner }}/{{ repo }}/{{ branch }}"
```
-Bare repository (`~/code/myproject/feature-auth`):
+Bare repository cloned to `~/code/myproject/.git` (`~/code/myproject/feature-auth`):
```toml
worktree-path = "{{ repo_path }}/../{{ branch | sanitize }}"
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_create.snap b/tests/snapshots/integration__integration_tests__help__help_config_create.snap
index f8d3df2b8..2d034369a 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_create.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_create.snap
@@ -126,7 +126,7 @@ Creates ~/.config/worktrunk/config.toml with the following content:
  #
  # worktree-path = "~/development/{{ owner }}/{{ repo }}/{{ branch }}"
  #
-  # Bare repository (`~/code/myproject/feature-auth`):
+  # Bare repository cloned to `~/code/myproject/.git` (`~/code/myproject/feature-auth`):
  #
  # worktree-path = "{{ repo_path }}/../{{ branch | sanitize }}"
  #
diff --git a/tests/snapshots/integration__integration_tests__help__help_config_long.snap b/tests/snapshots/integration__integration_tests__help__help_config_long.snap
index febf0e5d6..c5f4f557a 100644
--- a/tests/snapshots/integration__integration_tests__help__help_config_long.snap
+++ b/tests/snapshots/integration__integration_tests__help__help_config_long.snap
@@ -174,7 +174,7 @@ By remote owner path (~/development/max-sixty/myproject/feature/auth):
  worktree-path = "~/development/{{ owner }}/{{ repo }}/{{ branch }}"
-Bare repository (~/code/myproject/feature-auth):
+Bare repository cloned to ~/code/myproject/.git (~/code/myproject/feature-auth):
  worktree-path = "{{ repo_path }}/../{{ branch | sanitize }}"