1GH-AUTH-LOGOUT(1) GitHub CLI manual GH-AUTH-LOGOUT(1)
2
3
4
6 gh-auth-logout - Log out of a GitHub host
7
8
9
11 gh auth logout [flags]
12
13
14
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
25 -h, --hostname <string>
26 The hostname of the GitHub instance to log out of
27
28
29
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
42 gh-auth(1)
43
44
45
46 Jan 2023 GH-AUTH-LOGOUT(1)