Git Conflict Resolver is a Visual Studio Code extension focused on making Git merge conflicts easier to inspect, compare, and resolve without leaving the editor.
Screenshots

Features
- Side-by-side conflict comparison for
oursandtheirs - Optional base panel support for
diff3style conflicts - Live output preview while conflicts are being resolved
- Block-level and line-level conflict selection
- Manual output editing when the merge needs a custom result
- Automatic file staging with
git addafter save - Conflict discovery through the editor and sidebar view
Usage
Open the merge tool with one of the following entry points:
- Command Palette:
Git Conflict Resolver: Open Merge Tool - Editor title/context menu:
Open Merge Tool - Keyboard shortcut:
Ctrl+Shift+Mon Windows/Linux orCmd+Shift+Mon macOS - Sidebar: select a file from
Conflicted Files
Configuration
{
"gitConflictResolver.autoDetect": true,
"gitConflictResolver.diffVisualizationStyle": "connections"
}
When autoDetect is enabled, the extension prompts to open the merge tool whenever a conflicted file becomes the active editor.
Set gitConflictResolver.diffVisualizationStyle to classic if you want to disable the connector-style merge visualization and keep the traditional side-by-side view only.
Development
This project currently uses plain JavaScript and static webview assets, so there is no build step.
- Open the repository in VS Code.
- Press
F5to launch an Extension Development Host. - Open a repository with merge conflicts and use the extension normally.
- Run
npm run check:syntaxbefore submitting changes.
Project Docs
- Contributor guide: CONTRIBUTING.md
- Architecture and file responsibilities: docs/ARCHITECTURE.md
License
This project is licensed under the MIT License - see the LICENSE file for details.