15 lines
559 B
Text
15 lines
559 B
Text
# Files copied into every new Claude Code worktree (despite being gitignored).
|
|
#
|
|
# `claude --bg` / `claude --worktree` / `claude agents` create fresh worktrees
|
|
# from a clean tree. Without these files copied, backend won't start (missing
|
|
# .env), frontend won't connect to API, MCP servers won't authenticate.
|
|
#
|
|
# Only gitignored files matched by these patterns are copied — tracked files
|
|
# are never duplicated.
|
|
#
|
|
# Reference: https://code.claude.com/docs/en/worktrees#copy-gitignored-files
|
|
|
|
backend/.env
|
|
backend/.env.runtime
|
|
frontend/.env.local
|
|
.mcp.json
|