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

Check Remote not longer honoured #283

Open furstenheim opened 1 year ago

furstenheim commented 1 year ago

Hi, I recently upgraded to 4.3.1, since then check remote is not honoured. I'm using gitlink with a custom git repository and I do not want to check the custom.

For example, I'm writing a pull request and I want to write a Readme referencing a file that is in that same pull request. I want to do this without pushing, since the code is not yet ready.

However, since the last update, even if "Check remote" is unchecked. It will reject to copy the path to my clipboard and a notification will pop up with "Could not find remote for selected file".

Cheers.

ben-gibson commented 1 year ago

I think that error actually means it can’t find the git remote (git remote -v). By default it looks for a remote named origin, but it can be configured in the settings.

furstenheim commented 1 year ago

I should've mentioned, if the file does exist in the remote, then it copies the path. It only fails for new files

On Mon, 6 Mar 2023, 19:05 Ben Gibson, @.***> wrote:

I think that error actually means it can’t find the git remote (git remote -v). By default it looks for a remote named origin, but it can be configured in the settings.

— Reply to this email directly, view it on GitHub https://github.com/ben-gibson/GitLink/issues/283#issuecomment-1456667651, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5SMP56FO3WHIU7O7Y5SXTW2YRNBANCNFSM6AAAAAAVRJVZBE . You are receiving this because you authored the thread.Message ID: @.***>