Better Source ControlA dedicated VS Code view for every Git repository in a workspace. It includes:
Open Better Source Control from the Activity Bar. Each repository row has its own Git actions; select the row to reveal its commit box, staged changes, and working-tree changes. Select a branch name to switch branches and a file to open its diff. The built-in Git extension must remain enabled because Better Source Control uses its official repository API. VS Code does not let extensions hide the built-in Source Control container, but you can right-click the Activity Bar and hide Source Control after installing this replacement view. Use Better Source Control: Configure AI for one global provider plus separate model and reasoning controls for commit messages and conflict resolution. An empty model uses the selected CLI's default. Generating a message sends the staged diff to the selected AI CLI, or the working-tree diff when nothing is staged. Untracked filenames are included, but their contents are excluded by default. Enable Conflict resolution handles marked text conflicts; binary, structural, and ambiguous conflicts remain available for manual resolution. Files containing marker-like lines (for example, a seven-equals Markdown underline) may require manual staging even after resolution. Review the resulting changes before continuing the Git operation. Claude conflict resolution requires Claude Code 2.1.248 or newer for restricted mode; older versions fail without falling back to broader permissions. Line counts use batched Git diffs. New files are read up to 1 MiB each; oversized, unreadable, or non-regular files show incomplete statistics. Graph filtering searches the loaded history. Install locally
Reload VS Code after installation. DevelopOpen this folder in VS Code and press
The tests use Node's test runner, including temporary Git repositories. To check activation and Git operations in a real, isolated VS Code Extension Development Host:
This opens a temporary test window and repository. Set CI and publishingEvery push and pull request runs the Node tests on Linux, macOS, and Windows, then builds a downloadable VSIX artifact. A push to Set the repository Actions secret |