Add worktree copy configuration and ignore copy status files
This commit is contained in:
parent
51c5a0b9f2
commit
5679b1e5de
2 changed files with 27 additions and 0 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -176,3 +176,6 @@ keys
|
|||
|
||||
.channels_cache.json
|
||||
.users_cache.json
|
||||
.copy-status
|
||||
.copy-log
|
||||
|
||||
|
|
|
|||
24
worktree-config.yaml
Normal file
24
worktree-config.yaml
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Worktree Copy Configuration
|
||||
# Edit this file to customize what gets copied when creating new worktrees
|
||||
#
|
||||
# Supports glob patterns:
|
||||
# - packages/*/node_modules (matches all package node_modules)
|
||||
# - **/.next (matches .next in any subdirectory)
|
||||
# - services/**/*.env (matches all .env files in services)
|
||||
|
||||
# Large directories - copied using Copy-on-Write (fast, space-efficient)
|
||||
cowCopyTargets:
|
||||
- node_modules
|
||||
- app/node_modules
|
||||
- core/node_modules
|
||||
- core/dist
|
||||
- extensions/*/node_modules # Glob: all services
|
||||
- packages/*/node_modules # Glob: all packages
|
||||
- packages/*/dist # Glob: all package dist builds
|
||||
- packages/*/out # Glob: all package out builds
|
||||
|
||||
# Small files - copied with regular cp (fast for individual files)
|
||||
regularCopyTargets:
|
||||
- .env
|
||||
- core/.env
|
||||
|
||||
Loading…
Add table
Reference in a new issue