gh auth login

Authenticate with a GitHub host

Options

NameDescription
-h, --hostname <hostname>The hostname of the GitHub instance to authenticate with
-s, --scopes <scopes>Additional authentication scopes for gh to have
-w, --webOpen a browser to authenticate
--with-token <token>Read token from standard input