Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Nifty Git Links: Open in GitHub, GitLab & BitbucketNew to Visual Studio Code? Get it now.
Nifty Git Links: Open in GitHub, GitLab & Bitbucket

Nifty Git Links: Open in GitHub, GitLab & Bitbucket

Nifty

| (0) | Free
Open or copy links to files, lines, commits and pull requests on GitHub, GitLab, Bitbucket, Azure DevOps and Gitea.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Nifty Git Links

Open or copy links to files, lines, commits and pull requests on GitHub, GitLab, Bitbucket, Azure DevOps and Gitea. Right-click, share, done.

Maintained. No sign-in. No telemetry. Works in VS Code, Cursor, Windsurf, VSCodium and other editors that use Open VSX.

Features

Nifty Git Links in the editor's right-click menu, with lines selected

A copied permalink pasted as a Markdown link

The status bar says when the link falls back to the last pushed commit

  • Share the exact lines. Select some code, right-click, and choose Copy Link to File/Lines. You get a link like https://github.com/acme/app/blob/4f2c…/src/api.ts#L42-L57, ready for Slack, a ticket or a code review.
  • Links that don't break. Permalinks point at the exact commit, so they keep showing the right code after the file changes. If your latest commit isn't pushed yet, Nifty Git Links links to your last pushed commit instead, so the link never 404s. It tells you in the status bar when it does this.
  • Markdown links. Copy Markdown Link gives you [src/api.ts#L42-L57](https://…) for PR descriptions and docs.
  • Who changed this line? Open Commit for Current Line runs git blame and opens that commit on the web.
  • Blame and history on the web, for the current file.
  • Create a pull request for your current branch in one click (GitHub, GitLab merge requests, Bitbucket, Azure DevOps, Gitea).
  • Every major host, including self-hosted ones:
    • GitHub and GitHub Enterprise
    • GitLab (including subgroups and custom ports)
    • Bitbucket Cloud
    • Bitbucket Server / Data Center
    • Azure DevOps (dev.azure.com and *.visualstudio.com, HTTPS and SSH)
    • Gitea, Forgejo and Codeberg
  • Right where you need it. In the editor's right-click menu, on the line numbers, on editor tabs, and on files in the Explorer.

Nifty Git Links uses your local git, so it works the same in VS Code, Cursor, Windsurf, remote SSH sessions and dev containers.

Commands

Command What it does
Open File on Remote Open the file (and selected lines) in the browser
Copy Link to File/Lines Copy the link
Copy Markdown Link to File/Lines Copy [path#Lx-Ly](https://github.com/get-nifty/feedback/blob/HEAD/url)
Open Commit for Current Line Open the commit that last changed this line
Copy Link to Commit for Current Line Copy that commit's link
Open Blame on Remote Open the web blame view
Open File History on Remote Open the file's commit history
Open Repository Open the repository home page
Create Pull Request for Current Branch Open the new pull / merge request page

All commands are under Nifty Git Links in the Command Palette.

Settings

Setting Default What it does
nifty.git-links.linkType permalink permalink (exact commit), branch (current branch) or defaultBranch (e.g. main)
nifty.git-links.remote (empty) Remote to use. Empty means the branch's upstream, then origin
nifty.git-links.hosts {} Self-hosted servers, e.g. { "git.acme.com": "gitlab" }

Host types for nifty.git-links.hosts: github, gitlab, bitbucket, bitbucket-server, azure, gitea.

Install

  • VS Code: search for "Nifty Git Links" in the Extensions view, or install from the Visual Studio Marketplace.
  • Cursor, Windsurf, VSCodium, Kiro, Antigravity: install from Open VSX.

Privacy

This extension collects no telemetry, needs no account and makes no network requests. It only runs git locally and opens links in your browser when you ask.

More Nifty tools

  • Nifty Beautify: Format HTML in PHP, Blade & Twig: Format HTML inside PHP, Blade, Twig, Jinja, Handlebars, ERB and Liquid templates without breaking the template tags. (Open VSX)
  • Nifty C# Templates: New Class, Record & Namespace: New C# class, interface, record, enum, test and controller files with the right namespace, plus namespace syncing. (Open VSX)
  • Nifty Data Viewer: CSV & Parquet Viewer with SQL: Open CSV, Parquet and JSON files as a fast table and query them with SQL, powered by DuckDB. Sort, page through millions of rows, and export to CSV, Parquet or JSON. (Open VSX)
  • Nifty Docs: Dash, Zeal & DevDocs Lookup: Look up the word under the cursor in Dash, Zeal or DevDocs, with docsets picked from your language and frameworks. (Open VSX)
  • Nifty JSON: Formatter, Validator & JSONPath: Format, minify, sort keys, query with JSONPath, copy paths, generate TypeScript types, and browse huge JSON files in a fast tree view. (Open VSX)
  • Nifty Mermaid: Mermaid Diagram Preview & Export: Mermaid diagrams with no account: live preview beside .mmd files and Markdown, diagrams in the Markdown preview, syntax highlighting, and export to SVG or PNG. (Open VSX)

See all 18 Nifty tools at https://getnifty.dev

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft