Appearance
daft exec
Run a command across one or more worktrees without changing your current directory.
TIP
This is the short form of git worktree-exec. The two are equivalent; this page mirrors the reference for convenience.
See git worktree-exec for the full CLI reference.
Quick examples
bash
daft exec --all -- cargo test
daft exec feat/auth 'feat/ui-*' -- pnpm lint
daft exec --all -x 'mise install' -x 'pnpm build' -x 'pnpm test'
daft exec feat/auth -- claudeSee Also
- git worktree-exec for full options reference
- Running commands across worktrees for the narrative guide