Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>gogitNew to Visual Studio Code? Get it now.
gogit

gogit

shiyujin

|
284 installs
| (0) | Free
shortcut to go to git repo
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

gogit README

Features

Go to git repo and open current viewed file.

Requirements

Workspace folder must be a git repo.

Usage

Open Command Palette with shortcut ⇧⌘P, and type gogit, there will be 4 different command:

  • Go Git(master)
  • Go Git(branch)
  • Go Git(copy master link)
  • Go Git(copy branch link)

you can open/copy link of git repo and locate current active doc(lines) in master/branch.

Development

Generate .vsix package:

vsce package

Publish with version:

vsce publish 0.0.0

Test

  1. markdown lint test

Tests are required before publish.

markdown lint test

markdownlint --config .markdownlintrc ./README.md

Fix lint errors if any.

You may need to install it before first using:

sudo npm install -g markdownlint-cli

TODO list

  • Add test case and test doc.

Release Notes

Users appreciate release notes as you update your extension.

0.1.0

First release.

0.1.2

Fix publish issue

0.1.4

Support git branch

0.1.5

Fix uri issue and update doc

0.1.6

Fix go branch issue

0.1.7

Fix go branch issue, version 2

0.1.8

Remove git url setting and fetch using git command automatically.

0.1.9

Add sourcecode link.

0.1.10

0.1.11

Support Windows.

0.1.12

Deal with ssh address.


For more information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference

Enjoy!

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