ben-gibson / GitLink

A Jetbrains plugin that opens a local file under Git version control in its remote host using the default browser.
https://plugins.jetbrains.com/plugin/8183-gitlink
MIT License
671 stars 58 forks source link

Several remotes support #277

Open sergeych opened 1 year ago

sergeych commented 1 year ago

In my case:

[remote "origin"]
        url = ssh://git@sergeych.net/unikrypto.git
        fetch = +refs/heads/*:refs/remotes/origin/*
[remote "github"]
        url = https://github.com/sergeych/unikrypto.git
        fetch = +refs/heads/*:refs/remotes/github/*

the plugin asked me to specify the platform, and I specified the GitHub. When generating links, it does it on the "origin" url, e.g. to the redmine, so it does not work. It would be wonderful to have a way to select which origin to use.

sabi0 commented 1 year ago

Duplicates #240 ?