gh auth
Authenticate with a GitHub host from the command-line.
=> More information.
- Log in with interactive prompt:
gh auth login
- Log in with a token from standard input (created in https://github.com/settings/tokens):
echo {your_token} | gh auth login --with-token
- Check if you are logged in:
gh auth status
gh auth logout
- Log in with a specific GitHub Enterprise Server:
gh auth login --hostname {github.example.com}
- Refresh the session to ensure authentication credentials have the correct minimum scopes (removes additional scopes requested previously):
gh auth refresh
- Expand the permission scopes:
gh auth refresh --scopes {write:org,read:public_key}
Copyright © 2014—present the tldr-pages team and contributors.
This work is licensed under the Creative Commons Attribution 4.0 International License (CC-BY).
=> CC-BY
Proxy Information
- Original URL
- gemini://freeshell.de/tldr/gh-auth.gmi
- Status Code
- Success (20)
- Meta
text/gemini;lang=en-GB
- Capsule Response Time
- 106.498761 milliseconds
- Gemini-to-HTML Time
- 0.316877 milliseconds
This content has been proxied by September (3851b).