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

fallback branch does not work with different main branches across repos #290

Open axaluss opened 1 year ago

axaluss commented 1 year ago

I am working with dozens of repos and each has a different default brach. Common default branches:

Git link frequently bails figuring out the correct default branch and remote platform (self hosted gitlab).

Proposed solution inspiration:

mcagl commented 1 year ago

I think that the third proposed solution will be the best one: a list of fallback branch names to try in sequence.