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
OPG: Open Directory which opens the root directory of the git remote repository
OPG: Open File (default branch) which opens the active file in VS Code editor on the default branch (master or main or default branch)
OPG: Open File (current branch) which opens the active file in VS Code editor on the current branch
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:
| |