When thinking about GHE compatibility #273, we should address the different places where we generate URLs within CLI and ensure that we are respecting the current hostname that might be different from github.com.
-
repo clone, repo fork, pr create, and other commands may generate git remote URLs. These URLs should not be hardcoded to github.com, but should respect whathever is the current or selected hostname.
-
issue/pr/repo view --web and other commands may generate URLs for viewing in the browser. Same as above.
Ref. #1282
When thinking about GHE compatibility #273, we should address the different places where we generate URLs within CLI and ensure that we are respecting the current hostname that might be different from
github.com.repo clone,repo fork,pr create, and other commands may generate git remote URLs. These URLs should not be hardcoded togithub.com, but should respect whathever is the current or selected hostname.issue/pr/repo view --weband other commands may generate URLs for viewing in the browser. Same as above.Ref. #1282