Skip to content

Add .worktreeinclude for claude --worktree dep inheritance#10

Merged
kderholtvisma merged 1 commit intomainfrom
chore/worktreeinclude
Apr 18, 2026
Merged

Add .worktreeinclude for claude --worktree dep inheritance#10
kderholtvisma merged 1 commit intomainfrom
chore/worktreeinclude

Conversation

@kderholtvisma
Copy link
Copy Markdown
Contributor

Summary

  • Adds .worktreeinclude so claude --worktree and subagent worktrees copy the gitignored files they need to build and run.
  • Includes node_modules/ and vendor/ so worktrees inherit installed deps from the main repo instead of re-installing per worktree.
  • Also lists the standard .env* patterns as a safety net; none are gitignored in this repo today, but the patterns are no-ops if unused.

Test plan

  • claude --worktree produces a worktree where node_modules/ is present without running deno/npm install.
  • Pre-push gates still pass on this branch: deno fmt --check && deno lint && deno check main.ts && deno test --allow-net.

@kderholtvisma kderholtvisma merged commit d8b520b into main Apr 18, 2026
1 check passed
@kderholtvisma kderholtvisma deleted the chore/worktreeinclude branch April 18, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant