Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Git Merge RequestNew to Visual Studio Code? Get it now.
Git Merge Request

Git Merge Request

Git MR & PR

|
4 installs
| (0) | Free
Create merge requests for GitLab/GitHub from VS Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git MR - Visual Studio Code Extension

Create merge requests for GitLab/GitHub directly from VS Code, with additional compare branches and diff navigation features.

Features

1. Create Merge Request

  • QuickPick UI to select target branch(es)
  • Multi-select support for multiple targets
  • Push branch first option (configurable)
  • Auto-detect Git provider from remote URL

2. Compare Branches

  • Compare current branch with target branch
  • Compare any two branches
  • Open compare URL in browser

3. Open Repository on Web

  • Open repository on GitLab/GitHub web interface

4. Navigate Changed Files (SCM)

  • Navigate next/previous changed files using VS Code SCM API
  • Uses Alt+J / Alt+K shortcuts (configurable)
  • Auto-sync with currently open file

5. Configuration

Setting Default Description
git-mr.provider auto Provider: auto, gitlab, github
git-mr.providerRules [] Domain -> provider mapping
git-mr.defaultTarget main Default target branch
git-mr.commonBranches ["main", "master", "development", "develop", "mainline"] Common branches shown first
git-mr.pushFirst false Push branch before creating MR
git-mr.showCreateMR true Show Create MR status bar
git-mr.showCompare true Show Compare status bar
git-mr.showNavButtons false Show Next/Prev navigation status bars

Commands

Command Description
git-mr.createMergeRequest Create merge request
git-mr.compareBranches Compare current branch with target
git-mr.compareTwoBranches Compare any two branches
git-mr.openRepo Open repository on web
git-mr.nextDiffFile Next changed file (Alt+J)
git-mr.prevDiffFile Previous changed file (Alt+K)

Keybindings

[
  { "key": "alt+j", "command": "git-mr.nextDiffFile" },
  { "key": "alt+k", "command": "git-mr.prevDiffFile" }
]

Installation

  1. Open VS Code
  2. Go to Extensions (Cmd+Shift+X)
  3. Search for "Git MR"
  4. Install and reload

Manual Installation

# Clone or download this extension
cd git-mr
npm install
npm run vscode:prepublish
# Package: npm install -g vsce && vsce package

Requirements

  • VS Code 1.80.0 or higher
  • Git installed

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft