Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy Github PermalinkNew to Visual Studio Code? Get it now.
Copy Github Permalink

Copy Github Permalink

tejanium

|
1,726 installs
| (1) | Free
Copy Github Permalink
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Copy Github Permalink

Build Status David David GitHub release Visual Studio Marketplace Installs

Features

Copy Github's permalink of particular line. This is useful if you want to show piece of code in Github's comment.

There are tons of similar extension, but they always using HEAD's SHA which might or might not exist in Github.

This extension by default will copy permalink to your origin/master because it guarantee the permalink is valid, but you can configure it to point to your current HEAD if you want.

To activate, enter these commands in the Command Palette:

  • copy-github-permalink.copy: Copy permalink of the selected line.

Extension Settings

  • copy-github-permalink.branch: Branch of where the permalink will pointed to. Default: origin/master
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft