

Konrad Sopala
April 30, 2026
4 min read
April 30, 2026
4 min read

Cut code review time & bugs by 50%
Most installed AI app on GitHub and GitLab
Free 14-day trial
You're about to merge. Everything's green. Then GitHub hits you with: "This branch has conflicts that must be resolved." Here’s what you do next:
The conflict markers are noise around code that wasn't really fighting in the first place.
So why are you still stuck in the weeds for this?
When CodeRabbit detects conflicts in your PR, Resolve Merge Conflicts can fix them for you - reading the intent behind both sides, figuring out the right unified outcome, and committing it as a proper merge commit on your branch. It’s available on both GitHub and GitLab on the CodeRabbit Pro Plus plan. Here’s what that looks like.
The way it probably used to work for you before is that you stopped what you're doing, switched branches and manually reconciled someone else's changes with yours. After all that, you re-ran CI and hoped you didn't miss anything subtle.
You comment, CodeRabbit resolves and the merge commit lands on your branch with both parents intact.
There are two ways to use this feature.
In the PR thread just comment

On GitHub, when CodeRabbit detects conflicts during review, it adds a Resolve merge conflicts checkbox right inside the walkthrough comment — just tick it.
Both routes commit the resolved changes directly to your branch.
When resolution runs, here's what's happening under the hood:
Remember the last time you were on GitHub and a pull request had conflicts that were too complex for the web editor to resolve? With the Resolve Merge Conflicts feature, you will no longer be stopped by the error message: use the command line to resolve conflicts before continuing.
The agent will decline a resolution rather than guess if doing so could cause real harm in two cases:
When it declines, the entire attempt is aborted so there are no partial commits or half-resolved files. You get a comment naming the file and the specific reason. The bar for declining is intentionally high, so the vast majority of conflicts get resolved automatically.
Resolve Merge Conflicts is in open beta on the Pro Plus plan, available on GitHub and GitLab.
Next time you have a conflict, don't switch branches. Drop a comment in the PR and watch your merge conflicts disappear.