More explicitly describe hostname inferred case
This commit is contained in:
@@ -27,7 +27,7 @@ You can find extensions by browsing [repositories with the `gh-extension` topic]
|
||||
|
||||
## Installing extensions
|
||||
|
||||
To install an extension, use the `extensions install` subcommand. Replace the `repo` parameter with the repository of the extension. You can use the full URL, such as `https://github.com/octocat/gh-whoami`, or just the owner and repository, such as `octocat/gh-whoami`. If the full URL is not used, `gh` will install the extension using the hostname to which `gh` is currently authenticated.
|
||||
To install an extension, use the `extensions install` subcommand. Replace the `repo` parameter with the repository of the extension. You can use the full URL, such as `https://github.com/octocat/gh-whoami`, or just the owner and repository, such as `octocat/gh-whoami`. If the owner and repository are used, `gh` will install the extension using the hostname to which `gh` is currently authenticated.
|
||||
|
||||
The URL format is useful when installing extensions from a different host. For example, users on {% data variables.product.prodname_ghe_server %} should use the full repository URL to install extensions from GitHub.com or any other host.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user