Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>MergeGuardNew to Visual Studio Code? Get it now.
MergeGuard

MergeGuard

Aripra Infotech

|
3 installs
| (0) | Free
Inspect branch history and preview Git merges inside VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

MergeGuard

Open MergeGuard: Open Home in a trusted local repository. Check before merging starts with your current branch, lets you confirm the destination, and analyzes the pinned pair. Explore opens commit history. Plan team merge compares integration orders. History opens saved evidence.

Preview a Git merge in VS Code desktop. Pick Workspace → Merge in the MergeGuard sidebar, confirm the source and target to run the simulation. The report records both commit IDs. Expand a conflict to compare its versions, or choose Check affected code to inspect potential JS/TS callers in the pinned target.

MergeGuard Home in VS Code showing the current branch, the suggested merge destination and the action to check the pair

Home shows the evidence behind the suggested target. Explore opens the horizontal branch graph with commit authors and changed files.

Plan a branch order compares two to four sources against a target. Expand a matrix cell for the paths Git reported. Read the sequence below the matrix to see which steps can run together.

Resolve and validate a candidate prepares disposable files from a completed comparison. Review edits in a native diff. Each validation command requires approval and runs with your OS permissions. The output shows the pinned target and candidate separately. Dependencies must already be available to the command.

View saved reports opens workspace history. Export Markdown or JSON, delete a report, or set the retention limit in Settings. The default is 20 reports. Branch tips and merge configuration are checked when the repository is available.

Optional AI review is disabled by default. Enable MergeGuard: AI Enabled in Settings to show Ask AI about this conflict. Each request first displays the selected conflict path and the four pinned text versions that would be sent to a VS Code language model. VS Code may request model access consent. MergeGuard does not store the prompt or response. A proposed edit opens as a candidate draft for review and approval, then must be validated like any other candidate change.

Requirements and installation

Use local Git and a trusted folder in VS Code desktop. Simulation requires Git support for machine-readable merge-tree --write-tree. AI review requires an available VS Code language model and is optional. For an internal VSIX, choose Extensions: Install from VSIX…. From source, run npm ci, npm test, and npm run package. F5 launches the extension development host.

Git simulation may write Git objects. Fetch is explicit. Candidate edits and validation use disposable directories. MergeGuard does not install dependencies, merge into a branch, or push. Static impact findings identify code to review. A passing check describes only the command you ran.

Windows desktop testing covered the two-branch merge preview. Cross-platform release acceptance and pilot feedback are pending. Virtual workspaces and remote extension hosts are outside this release.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft