Skip to main content

rt sync

rt › sync

Sync branches: rebase onto master + push (daily routine)

Usage

rt sync [flags]

Arguments & flags

Flag / ArgTypeDefaultDescription
--dry-runbooleanfalseShow what would happen without doing it
--jsonbooleanfalseOn conflict, emit a JSON conflict bundle and exit 3 instead of prompting
--agentbooleanfalseOn conflict, skip the prompt and hand off straight to a Claude agent in herdr (requires a TTY)
--no-agentbooleanfalseOn conflict, never offer agent escalation; abort instead

Subcommands

CommandDescription
allSync all worktrees in the current repo

See code: commands/sync.ts › syncCommand