Merge pull request #7449 from goldstar611/patch-1

Mention setting GH_ENTERPRISE_TOKEN when GH_HOST is set
This commit is contained in:
Nate Smith 2023-05-15 11:07:42 -07:00 committed by GitHub
commit 7b78e3204e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,8 @@ var HelpTopics = []helpTopic{
token for API requests to GitHub Enterprise. When setting this, also set GH_HOST.
GH_HOST: specify the GitHub hostname for commands that would otherwise assume the
"github.com" host when not in a context of an existing repository.
"github.com" host when not in a context of an existing repository. When setting this,
also set GH_ENTERPRISE_TOKEN.
GH_REPO: specify the GitHub repository in the "[HOST/]OWNER/REPO" format for commands
that otherwise operate on a local repository.