Reviewing Branches
Use --branch to review all commits since your branch diverged from main:
roborev review --branch # Review branch vs auto-detected main/masterroborev review --branch --base dev # Review branch vs specific baseroborev review --branch --wait # Wait for review and show resultThis is useful for pre-merge reviews of entire feature branches.
How It Works
- roborev detects the merge-base between your current branch and the base branch
- All commits from the merge-base to HEAD are queued for review
- Each commit is reviewed individually by the AI agent
- Results are stored and can be viewed in the TUI
Options
| Flag | Description |
|---|---|
--base <branch> | Compare against a specific base branch (default: auto-detect main/master) |
--wait | Wait for all reviews to complete |
--quiet | Suppress output |
--agent <name> | Use specific agent |
--reasoning <level> | Set reasoning depth |
Use Cases
Pre-Merge Review
Before creating a pull request, review your entire branch:
git checkout feature-branchroborev review --branch --waitroborev tui # Review resultsCI Integration
if ! roborev review --branch --wait --quiet; then echo "Reviews found issues" exit 1fiSee Also
- Reviewing Specific Commits - Review ranges with
--since - Auto-Fixing - Automatically address failed reviews