|
@@ -3,11 +3,11 @@
|
|
|
> Authenticate with a GitHub host from the command line.
|
|
|
> More information: <https://cli.github.com/manual/gh_auth>.
|
|
|
|
|
|
-- Login with interactive prompt:
|
|
|
+- Log in with interactive prompt:
|
|
|
|
|
|
`gh auth login`
|
|
|
|
|
|
-- Login with a token from standard input (created in https://github.com/settings/tokens):
|
|
|
+- Log in with a token from standard input (created in https://github.com/settings/tokens):
|
|
|
|
|
|
`echo {{your_token}} | gh auth login --with-token`
|
|
|
|
|
@@ -19,7 +19,7 @@
|
|
|
|
|
|
`gh auth logout`
|
|
|
|
|
|
-- Login with a specific GitHub Enterprise Server:
|
|
|
+- Log in with a specific GitHub Enterprise Server:
|
|
|
|
|
|
`gh auth login --hostname {{github.example.com}}`
|
|
|
|