gh auth logout
gh auth logout [flags]
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