ben-gibson/GitLink

A Jetbrains plugin that opens a local file under Git version control in its remote host using the default browser.

Kotlin

937

212 commits

updated Sep 2, 2026

See the code

README

GitLink

GitLink

Build Version Rating Downloads Stand With Ukraine

Demo

A Jetbrains plugin providing shortcuts to open or copy a file, directory or commit in GitHub, Bitbucket, Codeberg, GitLab, Gitee, Gitea, Forgejo, Gogs, Azure, sourcehut, and Gerrit. Custom platforms can also be configured using the URL template syntax.

Usage

Install the plugin and configure your platform if it hasn't been auto-detected already:

  Preferences → Tools → GitLink

Settings

Make sure you have registered your projects root under the version control preferences:

  Preferences → Version Control (see unregistered roots)

The actions live under the Git menu and in the editor, project view and editor tab context menus:

  Git → Open in (your selected platform)
  Git → Copy (your selected platform) link
  Git → Copy (your selected platform) Markdown link

The current file can also be opened from the select-in popup:

  Select in... → (your selected platform)

Additional shortcuts are available from the editor gutter, the annotation gutter and the Git log window.

A URL can be generated in one of the following ways:

  • File at a commit
  • File at a branch
  • Commit

By default, when generating a URL to a file, the latest commit hash is used, creating a reference to a fixed version of the file's content. If the latest commit has not been pushed to the remote, the current branch is used instead. While this avoids generating a URL to a 404, it does mean the linked contents can change over time.

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "GitLink" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

Support

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

License

Please see LICENSE for details.

azure-devops
bitbucket
git
gitee
github
gitlab
gitlink
jetbrains-plugin
plugin
vcs

ben-gibson/GitLink

A Jetbrains plugin that opens a local file under Git version control in its remote host using the default browser.

Kotlin

937

212 commits

updated Sep 2, 2026

See the code

README

GitLink

GitLink

Build Version Rating Downloads Stand With Ukraine

Demo

A Jetbrains plugin providing shortcuts to open or copy a file, directory or commit in GitHub, Bitbucket, Codeberg, GitLab, Gitee, Gitea, Forgejo, Gogs, Azure, sourcehut, and Gerrit. Custom platforms can also be configured using the URL template syntax.

Usage

Install the plugin and configure your platform if it hasn't been auto-detected already:

  Preferences → Tools → GitLink

Settings

Make sure you have registered your projects root under the version control preferences:

  Preferences → Version Control (see unregistered roots)

The actions live under the Git menu and in the editor, project view and editor tab context menus:

  Git → Open in (your selected platform)
  Git → Copy (your selected platform) link
  Git → Copy (your selected platform) Markdown link

The current file can also be opened from the select-in popup:

  Select in... → (your selected platform)

Additional shortcuts are available from the editor gutter, the annotation gutter and the Git log window.

A URL can be generated in one of the following ways:

  • File at a commit
  • File at a branch
  • Commit

By default, when generating a URL to a file, the latest commit hash is used, creating a reference to a fixed version of the file's content. If the latest commit has not been pushed to the remote, the current branch is used instead. While this avoids generating a URL to a 404, it does mean the linked contents can change over time.

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "GitLink" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...

Support

Change log

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

License

Please see LICENSE for details.

azure-devops
bitbucket
git
gitee
github
gitlab
gitlink
jetbrains-plugin
plugin
vcs

Significant stargazers

Mikhail Mazurskiy

255 followers · starred Mar 2023

Sjoerd Langkemper

210 followers · starred Aug 2023

Nicolas Morel

309 followers · starred Nov 2022

Florin Pățan

445 followers · starred Mar 2020