.roo/commands/roo-resolve-conflicts.md
Resolve merge conflicts for a specific pull request by analyzing git history, commit messages, and code changes to make intelligent resolution decisions.
Provide a PR number (e.g., #123 or just 123)
The workflow will automatically:
# Fetch PR info
gh pr view [PR_NUMBER] --json title,body,headRefName,baseRefName
# Checkout and rebase
gh pr checkout [PR_NUMBER] --force
git fetch origin main
GIT_EDITOR=true git rebase origin/main
git status --porcelain | grep "^UU"
For each conflicted file:
git blame on conflicting sectionsBased on the analysis:
git add [resolved-files]
GIT_EDITOR=true git rebase --continue
\ when using apply_diff/roo-resolve-conflicts #123 - Resolve conflicts for PR #123/roo-resolve-conflicts 456 - Resolve conflicts for PR #456