Skip to content

Commit 316df75

Browse files
authored
Merge pull request #9124 from continuedev/my-feature-1
Add worktree copy configuration and ignore copy status files
2 parents 51c5a0b + 5679b1e commit 316df75

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,6 @@ keys
176176

177177
.channels_cache.json
178178
.users_cache.json
179+
.copy-status
180+
.copy-log
181+

worktree-config.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Worktree Copy Configuration
2+
# Edit this file to customize what gets copied when creating new worktrees
3+
#
4+
# Supports glob patterns:
5+
# - packages/*/node_modules (matches all package node_modules)
6+
# - **/.next (matches .next in any subdirectory)
7+
# - services/**/*.env (matches all .env files in services)
8+
9+
# Large directories - copied using Copy-on-Write (fast, space-efficient)
10+
cowCopyTargets:
11+
- node_modules
12+
- app/node_modules
13+
- core/node_modules
14+
- core/dist
15+
- extensions/*/node_modules # Glob: all services
16+
- packages/*/node_modules # Glob: all packages
17+
- packages/*/dist # Glob: all package dist builds
18+
- packages/*/out # Glob: all package out builds
19+
20+
# Small files - copied with regular cp (fast for individual files)
21+
regularCopyTargets:
22+
- .env
23+
- core/.env
24+

0 commit comments

Comments
 (0)