1GH-AUTH-LOGOUT(1)              GitHub CLI manual             GH-AUTH-LOGOUT(1)
2
3
4

NAME

6       gh-auth-logout - Log out of a GitHub host
7
8
9

SYNOPSIS

11       gh auth logout [flags]
12
13
14

DESCRIPTION

16       Remove authentication for a GitHub host.
17
18
19       This command removes the authentication configuration for a host either
20       specified interactively or via --hostname.
21
22
23

OPTIONS

25       -h, --hostname <string>
26              The hostname of the GitHub instance to log out of
27
28
29

EXAMPLE

31              $ gh auth logout
32              # => select what host to log out of via a prompt
33
34              $ gh auth logout --hostname enterprise.internal
35              # => log out of specified host
36
37
38
39
40

SEE ALSO

42       gh-auth(1)
43
44
45
46                                   Oct 2023                  GH-AUTH-LOGOUT(1)
Impressum