Provided by: gh_2.46.0-1_amd64 bug

NAME

       gh-auth-logout - Log out of a GitHub account

SYNOPSIS

       gh auth logout [flags]

DESCRIPTION

       Remove authentication for a GitHub account.

       This  command  removes  the  stored  authentication  configuration  for  an  account.  The
       authentication configuration is only removed locally.

       This command does not invalidate authentication tokens.

OPTIONS

       -h, --hostname <string>
              The hostname of the GitHub instance to log out of

       -u, --user <string>
              The account to log out of

EXAMPLE

       # Select what host and account to log out of via a prompt
       $ gh auth logout

       # Log out of a specific host and specific account
       $ gh auth logout --hostname enterprise.internal --user monalisa

SEE ALSO

       gh-auth(1)

                                             Mar 2024                           GH-AUTH-LOGOUT(1)