Note
Requires Git installed in your PATH. Windows is not fully tested yet.
🤯 Usage
Git Graph
Open the bottom panel and switch to the Git Brains tab to view the commit graph, branch tree, and commit details.
Merge Editor
When merge conflicts occur, click the merge icon in the Source Control panel title bar to open the Conflict List.
Double-click a conflicting file to open the 3-Way Merge Editor.
3. Use per-block buttons or the bottom action bar (Accept Left / Accept Right) to resolve conflicts.
4. Navigate between conflicts using the ▲ / ▼ buttons in the toolbar.
5. Click Apply to save, stage, and open the merged result.
TODO
[ ] 3-Way Merge Editor: the Result column is read-only for now (editing support coming soon)
[ ] Adapt to different VS Code color themes
⌨️ Local Development
git clone https://github.com/zhyc9de/git-brains.git
cd git-brains
pnpm install
cd webview && pnpm install && cd ..
Open the project in VS Code. Press F5 to launch the Extension Development Host.
pnpm run watch # Watch mode (extension + webview)
pnpm run build # Full production build