logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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.

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

Name

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

Options

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

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

See Also

gh-auth(1)

                                                    Jan 2025                                   GH-AUTH-LOGOUT(1)

Synopsis

ghauthlogout[flags]

See Also