sync

Sync setup.copy files to all worktrees.

Usage

docktree sync [flags]

Copies files declared in setup.copy from the main repo to all worktrees where they are stale (different or missing). Skips worktrees that are currently running.

Flags

FlagDescription
--dry-runShow what would be synced without copying
--forceSync without confirmation prompt

Examples

docktree sync
docktree sync --dry-run
docktree sync --force