Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

conflicts

Show which pending PRs have merge conflicts.

Avoid wasting time on PRs that can’t be merged yet.

When to Use

  • Pre-review: “Is this even mergeable?”
  • Sprint planning: “Which PRs are blocked?”
  • Merge day: “What can we actually ship?”

Synopsis

prctrl conflicts [OPTIONS]

Options

FlagDescriptionDefault
--conflicts-only, -cHide PRs without conflictsfalse
--all, -aCheck conflict status for all pending reviewsfalse
--pr-numbersCheck conflict status for specific PRs (comma-separated)-
--prTarget a specific PR by number-
--repoFilter by repository name (partial match, case-insensitive)-
--authorFilter by author username (partial match, case-insensitive)-
--since-days, -sOnly show PRs created since this many days ago-
--priority, -PShow priority scores for each PR (1-5 stars based on age and size)false
--jsonOutput as JSONfalse

Examples

# Check all pending PRs for conflicts
prctrl conflicts

# Show only PRs with conflicts
prctrl conflicts --conflicts-only

# Check conflict status for specific PRs
prctrl conflicts --pr-numbers 123,456,789

# Check a specific PR
prctrl conflicts --pr 123

# Check conflict status for all pending reviews
prctrl conflicts --all

# Check conflicts for a specific repo
prctrl conflicts --repo myservice

# Check conflicts for PRs by a specific author
prctrl conflicts --author johndoe

# Show priority scores alongside conflict status
prctrl conflicts --priority

# Check conflicts for PRs created in the last 3 days
prctrl conflicts --since-days 3