rt git rebase onto
rt › git › rebase › onto
Rebase onto a specific branch
Usage
rt git rebase onto <branch> [flags]
Arguments & flags
| Flag / Arg | Type | Default | Description |
|---|---|---|---|
<branch> | text | Branch to rebase onto | |
--dry-run | boolean | false | Show what would happen without doing it |
--json | boolean | false | On conflict, emit a JSON conflict bundle and exit 3 instead of prompting |
--agent | boolean | false | On conflict, skip the prompt and hand off straight to a Claude agent in herdr (requires a TTY) |
--no-agent | boolean | false | On conflict, never offer agent escalation; abort instead |
See code: commands/git/rebase.ts › ontoCommand