Skip to main content

rt git rebase onto

rt › git › rebase › onto

Rebase onto a specific branch

Usage

rt git rebase onto <branch> [flags]

Arguments & flags

Flag / ArgTypeDefaultDescription
<branch>textBranch to rebase onto
--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

See code: commands/git/rebase.ts › ontoCommand