spotube/gh_2.76.2_macOS_amd64/share/man/man1/gh-gpg-key-add.1

36 lines
538 B
Groff

.nh
.TH "GH-GPG-KEY-ADD" "1" "Jul 2025" "GitHub CLI 2.76.2" "GitHub CLI manual"
.SH NAME
gh-gpg-key-add - Add a GPG key to your GitHub account
.SH SYNOPSIS
\fBgh gpg-key add [<key-file>] [flags]\fR
.SH OPTIONS
.TP
\fB-t\fR, \fB--title\fR \fB<string>\fR
Title for the new key
.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-gpg-key(1)\fR