Skip to content

Commit f56a8f8

Browse files
committed
Document git worktree convention
1 parent 944bae9 commit f56a8f8

4 files changed

Lines changed: 12 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/coverage
33
/dist
44
/.claude/**/*.local.*
5+
/.git-worktrees/**/*
56
/CLAUDE.local.md
67
/.nyc_output
78
/out

.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
.agents/**/*
22
.codex/**/*
33
.claude/**/*
4+
.git-worktrees/**/*
45
.github/**/*
56
.vscode/**/*
67
AGENTS*.md

AGENTS.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ A VS Code extension ("Partial Diff") that lets users compare text selections wit
1717
- `npm run prep` — full pre-PR check (compile:prod + lint + test)
1818
- `npm run coverage` — nyc coverage report
1919

20+
## Git Worktrees
21+
22+
- Store git worktrees under `.git-worktrees/<branch_name>` relative to the repository root.
23+
- `<branch_name>` must not contain `/`. Use a slash-free branch name when creating worktrees.
24+
2025
## Architecture
2126

2227
**Entry flow:** `src/extension.ts``BootstrapperFactory``Bootstrapper` → registers commands and content provider with VS Code.

CLAUDE.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ A VS Code extension ("Partial Diff") that lets users compare text selections wit
1717
- `npm run prep` — full pre-PR check (compile:prod + lint + test)
1818
- `npm run coverage` — nyc coverage report
1919

20+
## Git Worktrees
21+
22+
- Store git worktrees under `.git-worktrees/<branch_name>` relative to the repository root.
23+
- `<branch_name>` must not contain `/`. Use a slash-free branch name when creating worktrees.
24+
2025
## Architecture
2126

2227
**Entry flow:** `src/extension.ts``BootstrapperFactory``Bootstrapper` → registers commands and content provider with VS Code.

0 commit comments

Comments
 (0)