gh-auth - Man Page

Authenticate gh and git with GitHub

Examples (TL;DR)

Synopsis

gh auth <command> [flags]

Commands

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

See Also

gh(1)

Referenced By

gh(1), gh-auth-login(1), gh-auth-logout(1), gh-auth-refresh(1), gh-auth-setup-git(1), gh-auth-status(1).

Jul 2022 GitHub CLI manual