Skip to main content

rt git rebase

rt › git › rebase

Rebase onto main and auto-resolve easy conflicts

Usage​

bash
rt git rebase [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
ontoRebase onto a branch you pick

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