You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow copying a github link to the default branch #4765
i'd like to be able to copy a GitHub link to the default branch on github.
this extension already provides useful commands to work with github links:
Copy GitHub Permalink
Copy GitHub Head Link
Open Permalink on Github
however I am often wanting to link people to the main branch, and not whatever my HEAD is pointing at which might not even be pushed up to github. so something like "Copy Github Default Branch Link" or similar help me generate the kind of links I am most often looking to share.
Reacted by Søren Louv-Jansen, Sho Mizutani, Nikolas Komonen, Steffen Auer, Oliver Joseph Ash, Budi Irawan, Doran Martinez, Clay John, Adrien-LUDWIG-Greenly and Jun Wooram
It would be nice to take inspiration from other extensions like Open In Github, who's configuration allows you to select which remote and branch you can use.
Most of the time I don't want to share a link to my own fork but the upstream version. It doesn't seem I can do this currently
Activity
jasonwilliams commentedon Aug 1, 2023
It would be nice to take inspiration from other extensions like Open In Github, who's configuration allows you to select which remote and branch you can use.
Most of the time I don't want to share a link to my own fork but the upstream version. It doesn't seem I can do this currently