Skip to content

Settings > Copy Github Url does not work as expected #59

@txoof

Description

@txoof

OS: Mac OS 15.2
VS Code Version: Version: 1.96.4 (Universal)
Copy GitHub URL Version: 0.15.0

Issue: I am using an identity file and alias in my .ssh/config that aliases github.com to foo_bar (see below). This results in all copied urls appearing as https://foo_bar/my_user/blah instead of https://github.com/my_user/blah. The settings @ext:mattlott.copy-github-url > User > CopyGithub Url: Git Url do not appear to work as expected for either the user or workspace.

What I have tried:

  • Configuring setting to https://github.com and github.com in workspace settings - No impact
  • Configuring url in User settings - No impact
  • Configuring url in User and Workspace settings - No impact
  • Configuring url, disabling and re-enabling plugin - No impact

SSH Configuration

# Alternate GitHub account
Host foo_bar
    HostName github.com
    User git
    AddKeysToAgent yes
    IdentityFile ~/.ssh/id_rsa_foobar

Please let me know if you need additional information. I'm keen to get this working. I have a very, obnoxious workflow that requires Git links as evidence for time writing and browsing for them is KIIIIIIIIIIIIIILING me.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions