gh auth

Login, logout, and refresh your authentication

Subcommands

NameDescription
loginAuthenticate with a GitHub host
logoutLog out of a GitHub host
refreshRefresh stored authentication credentials
setup-gitConfigure git to use GitHub CLI as a credential helper
statusView authentication status