Skip to content
GitHub stars

Reviewing Branches

Use --branch to review all commits since your branch diverged from main:

Terminal window
roborev review --branch # Review branch vs auto-detected main/master
roborev review --branch --base dev # Review branch vs specific base
roborev review --branch --wait # Wait for review and show result

This is useful for pre-merge reviews of entire feature branches.

How It Works

  1. roborev detects the merge-base between your current branch and the base branch
  2. All commits from the merge-base to HEAD are queued for review
  3. Each commit is reviewed individually by the AI agent
  4. Results are stored and can be viewed in the TUI

Options

FlagDescription
--base <branch>Compare against a specific base branch (default: auto-detect main/master)
--waitWait for all reviews to complete
--quietSuppress 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:

Terminal window
git checkout feature-branch
roborev review --branch --wait
roborev tui # Review results

CI Integration

Terminal window
if ! roborev review --branch --wait --quiet; then
echo "Reviews found issues"
exit 1
fi

See Also