Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Create link to git serverNew to Visual Studio Code? Get it now.
Create link to git server

Create link to git server

Michele Nasti

|
1,018 installs
| (0) | Free
Create a link to a specific line directly from the file you're looking at.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

create-link-to-git-server README

Easily share a link to VSC website of a line of your code: right click on a line in an editor, an click the item "Get link to this line".

Some may argue that gitLens is already doing this, but to be precise, there are two main differences:

  • gitLens doesn't work with private/custom it servers.
  • gitlens links to commits, while this extension links to remotes/branches.

Example

Github repo: https://github.com/musikele/create-link-to-git-server

Manual install: code --install-extension create-link-to-git-server-0.0.1.vsix

Features

Generate a link from Visual Studio Code that will point to popular git servers, like github or gitlab.

Extension Settings

No settings needed.

Known Issues

Let me know on github if there are any issues.

Release Notes

1.0.3

Gif was not working, fixing the link!

1.0.2

Add gif to readme.

1.0.1

Change information message.

1.0.0

Support for Https repositories too.

0.0.2

first working version

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