What's wrong with this entry?
A new configuration file that specifies gitignored files to copy into git worktrees, solving the problem of missing config files or local secrets in worktree-based workflows.
# Create .worktreeinclude in your project root
# List gitignored files/patterns that should be copied to worktrees:
.env
.env.local
config/local.json- Placed at the project root alongside
.gitignore - When a worktree is created, files matching
.worktreeincludepatterns that are also gitignored are automatically copied from the main working directory into the worktree - Blank lines and lines starting with
#are treated as comments - Uses
git ls-files --others --ignored --exclude-from=.worktreeincludeto identify matching files
New function lc4 reads .worktreeinclude and copies files (search for ".worktreeinclude")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.