DOKK / manpages / debian 12 / gh / gh-auth.1.en
GH-AUTH(1) GitHub CLI manual GH-AUTH(1)

gh-auth - Authenticate gh and git with GitHub

gh auth <command> [flags]

gh-auth-login(1)
Authenticate with a GitHub host

gh-auth-logout(1)
Log out of a GitHub host

gh-auth-refresh(1)
Refresh stored authentication credentials

gh-auth-setup-git(1)
Configure git to use GitHub CLI as a credential helper

gh-auth-status(1)
View authentication status

gh-auth-token(1)
Print the auth token gh is configured to use

gh(1)

Feb 2023