| Server IP : 85.155.190.233 / Your IP : 216.73.216.103 Web Server : nginx/1.24.0 System : Linux antigravity-cli 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 User : wp-moonbloom ( 1001) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/share/man/man1/ |
Upload File : |
.nh .TH "GH-AUTH" "1" "Apr 2026" "GitHub CLI 2.92.0" "GitHub CLI manual" .SH NAME gh-auth - Authenticate gh and git with GitHub .SH SYNOPSIS \fBgh auth <command> [flags]\fR .SH AVAILABLE COMMANDS .TP \fBgh-auth-login(1)\fR Log in to a GitHub account .TP \fBgh-auth-logout(1)\fR Log out of a GitHub account .TP \fBgh-auth-refresh(1)\fR Refresh stored authentication credentials .TP \fBgh-auth-setup-git(1)\fR Setup git with GitHub CLI .TP \fBgh-auth-status(1)\fR Display active account and authentication state on each known GitHub host .TP \fBgh-auth-switch(1)\fR Switch active GitHub account .TP \fBgh-auth-token(1)\fR Print the authentication token gh uses for a hostname and account .SH EXIT CODES 0: Successful execution .PP 1: Error .PP 2: Command canceled .PP 4: Authentication required .PP NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information. .SH SEE ALSO \fBgh(1)\fR