Skip to content

Allow copying a github link to the default branch #4765

Open

Description

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.

Activity

  1. added
    feature-request
    on May 12, 2023
  2. jasonwilliams commented on Aug 1, 2023

    @jasonwilliams

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-request

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions