# Ignored files Carry local dependencies and build outputs into a new copy-on-write worktree without adding them to Git. ## Include ignored paths A manifest in the source worktree root lists local files or directories to bring into new worktrees, such as dependency caches. Use one pattern per line: ```gitignore /node_modules/ /.cache/**/*.bin !/.cache/private/ ``` Patterns match relative to the source root and support recursive globs (`**`) and negations (`!`). Lines starting with `#` are comments. `.cleftinclude` takes precedence over `.worktreeinclude` when both are present. Only matching Git-ignored paths are eligible. Tracked files and `.git` metadata are not copied by the manifest, and paths that would escape through traversal or symlinks are rejected. ## Skip inclusion Manifest application is enabled by default. Review manifests from unfamiliar repositories, and do not list credentials or other sensitive files. When Cleft delegates the whole operation to plain Git, do not rely on include files being copied. Use `--no-include` for one worktree, or set `git config cleft.autoInclude false` in the source repository. Use `--include` to override that setting for one worktree.