gh auth login
Authenticate with a GitHub host
Options
Name | Description |
---|---|
-h, --hostname <hostname> | The hostname of the GitHub instance to authenticate with |
-s, --scopes <scopes> | Additional authentication scopes for gh to have |
-w, --web | Open a browser to authenticate |
--with-token <token> | Read token from standard input |