github-linker
github-linker copied to clipboard
Support for custom hostname
First off, thank you for this extension!
Unfortunately, I get back null for the repoUrl
ex. null/blob/9970...7b7e/foo.js#L25-L29
This is because I have the following setup, where I don't use [email protected]:, so that I can associate an ssh key with the remote
# .git
[remote "origin"]
url = git@github-work:johndoe/repo.git
fetch = +refs/heads/*:refs/remotes/origin/*
# .ssh
Host github-work
HostName github.com
IdentityFile ~/.ssh/github-work
- Do you know of any workarounds for my setup?
- OR could you extend support for one of
- in
getGitHubRepoURLto ignore the hostname -- ex. startsWithgit@and returns everything after: - add configuration option:
githubLinker.repoUrl = '...'
- in
thank you!
Same issue here. Any way to make it work for GitHub Enterprise (github.company.com) ?
Same issue here. Another extension "Open in Github" fix my problem.