@wbern/claude-instructions 1.18.0 → 1.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -212,8 +212,9 @@ Uncommitted changes: `git status --short`
212
212
  <description>Create the worktree</description>
213
213
  <option_a_new_branch>
214
214
  <condition>Remote branch does NOT exist</condition>
215
- <command>git worktree add ${parent_path}/${branch_name} -b ${branch_name} ${base_branch}</command>
216
- <example>git worktree add ../fix/issue-123-main-content-area-visually-clipped -b fix/issue-123-main-content-area-visually-clipped main</example>
215
+ <command>git worktree add ${parent_path}/${branch_name} -b ${branch_name} --no-track ${base_branch}</command>
216
+ <example>git worktree add ../fix/issue-123 -b fix/issue-123 --no-track origin/main</example>
217
+ <note>--no-track prevents git from setting upstream to base_branch (which would make git push target main!)</note>
217
218
  </option_a_new_branch>
218
219
  <option_b_existing_branch>
219
220
  <condition>Remote branch EXISTS</condition>
@@ -210,8 +210,9 @@ Uncommitted changes: `git status --short`
210
210
  <description>Create the worktree</description>
211
211
  <option_a_new_branch>
212
212
  <condition>Remote branch does NOT exist</condition>
213
- <command>git worktree add ${parent_path}/${branch_name} -b ${branch_name} ${base_branch}</command>
214
- <example>git worktree add ../fix/issue-123-main-content-area-visually-clipped -b fix/issue-123-main-content-area-visually-clipped main</example>
213
+ <command>git worktree add ${parent_path}/${branch_name} -b ${branch_name} --no-track ${base_branch}</command>
214
+ <example>git worktree add ../fix/issue-123 -b fix/issue-123 --no-track origin/main</example>
215
+ <note>--no-track prevents git from setting upstream to base_branch (which would make git push target main!)</note>
215
216
  </option_a_new_branch>
216
217
  <option_b_existing_branch>
217
218
  <condition>Remote branch EXISTS</condition>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wbern/claude-instructions",
3
- "version": "1.18.0",
3
+ "version": "1.18.1",
4
4
  "description": "TDD workflow commands for Claude Code CLI",
5
5
  "type": "module",
6
6
  "bin": "./bin/cli.js",