← Mods

Worktree include

New git worktrees come ready to run. Add a .worktreeinclude to a repo, listing gitignored files like .env, .npmrc or config/local.json, and open a space on the repo. From then on, every new worktree of that repo gets those files copied in from the main checkout, whether you make it with Herdr's New worktree, Claude Code or git worktree add, and whether Herdr is open or not. A small floating window shows each repo, whether it's switched on, and what each worktree got. Nothing is ever overwritten.

madwire Updated Nov 2
Worktree include mod
Tell your agent Read ~/.config/herdr-app/AGENTS.md, then add this mod: herdr.dev/mods/madwire/herdr-worktreeinclude