Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>open-gitNew to Visual Studio Code? Get it now.

open-git

Reetesh Dooleea

|
14 installs
| (0) | Free
Open Git repository
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Open-Git

An extension that opens the current Git remote repository in the browser in a step
Download extension at https://marketplace.visualstudio.com/items?itemName=ReeteshDooleea.opg

Commands

  1. OPG: Open Directory which opens the root directory of the git remote repository
  2. OPG: Open File (default branch) which opens the active file in VS Code editor on the default branch (master or main or default branch)
  3. OPG: Open File (current branch) which opens the active file in VS Code editor on the current branch
  4. OPG: Compare which opens and compares the default branch with the current branch

where OPG stands for Open-Git

Usage

Run the following commands in your current git directory:

Open the Command Palette : Ctrl + Shift + P
Enter the Command        : OPG: Open Directory

Example:

Commands tutorials

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft