3 separate commands described below.
Copy a GitHub URL of your current file location to the clipboard.
Usage: Ctrl+L C
Example: https://github.com/differentmatt/vscode-copy-github-url/blob/example-branch/extension.js#L4
Copy a GitHub Permanent URL of your current file location to the clipboard.
Usage: Ctrl+Shift+L C
Example: https://github.com/differentmatt/vscode-copy-github-url/blob/c49dae32/extension.js#L4
Copy a GitHub default branch URL of your current file location to the clipboard.
Usage: Ctrl+Shift+L M
Example: https://github.com/differentmatt/vscode-copy-github-url/blob/main/extension.js#L4
- Within Visual Studio Code, open the command palette (
Ctrl-Shift-P
/Cmd-Shift-P
) - Type
install extension
and search forcopy github url
This extension collects anonymous telemetry data to help improve the extension's functionality.
You can disable telemetry collection by setting telemetry.telemetryLevel
to off
in VS Code settings.
No personal or repository-identifying information is collected.