diff --git a/docs/src/content/docs/hook.md b/docs/src/content/docs/hook.md index b295b5eab..003fe77bb 100644 --- a/docs/src/content/docs/hook.md +++ b/docs/src/content/docs/hook.md @@ -169,7 +169,7 @@ Undefined variables error — use conditionals or defaults for optional behavior ```toml [pre-start] -# Rebase onto upstream if tracking a remote branch (e.g., wt switch --create feature origin/feature) +# Rebase onto upstream if tracking a remote branch (e.g., wt switch --create feature --base origin/feature) sync = "{% if upstream %}git fetch && git rebase {{ upstream }}{% endif %}" ``` diff --git a/plugins/worktrunk/skills/worktrunk/reference/hook.md b/plugins/worktrunk/skills/worktrunk/reference/hook.md index 39d2391f2..fab7be40c 100644 --- a/plugins/worktrunk/skills/worktrunk/reference/hook.md +++ b/plugins/worktrunk/skills/worktrunk/reference/hook.md @@ -163,7 +163,7 @@ Undefined variables error — use conditionals or defaults for optional behavior ```toml [pre-start] -# Rebase onto upstream if tracking a remote branch (e.g., wt switch --create feature origin/feature) +# Rebase onto upstream if tracking a remote branch (e.g., wt switch --create feature --base origin/feature) sync = "{% if upstream %}git fetch && git rebase {{ upstream }}{% endif %}" ``` diff --git a/skills/worktrunk/reference/hook.md b/skills/worktrunk/reference/hook.md index 39d2391f2..fab7be40c 100644 --- a/skills/worktrunk/reference/hook.md +++ b/skills/worktrunk/reference/hook.md @@ -163,7 +163,7 @@ Undefined variables error — use conditionals or defaults for optional behavior ```toml [pre-start] -# Rebase onto upstream if tracking a remote branch (e.g., wt switch --create feature origin/feature) +# Rebase onto upstream if tracking a remote branch (e.g., wt switch --create feature --base origin/feature) sync = "{% if upstream %}git fetch && git rebase {{ upstream }}{% endif %}" ``` diff --git a/src/cli/mod.rs b/src/cli/mod.rs index ec3279121..ea53d0a6f 100644 --- a/src/cli/mod.rs +++ b/src/cli/mod.rs @@ -1711,7 +1711,7 @@ Undefined variables error — use conditionals or defaults for optional behavior ```toml [pre-start] -# Rebase onto upstream if tracking a remote branch (e.g., wt switch --create feature origin/feature) +# Rebase onto upstream if tracking a remote branch (e.g., wt switch --create feature --base origin/feature) sync = "{% if upstream %}git fetch && git rebase {{ upstream }}{% endif %}" ```