gh gpg-key
Manage GPG keys registered with the authorized GitHub account. See also:
gpg. More information: https://cli.github.com/manual/gh_gpg-key.
- List GPG keys in the authorized GitHub account:
gh gpg-key
- Add a GPG key to the authorized GitHub account by specifying the key file:
gh gpg-key add
- Add a GPG key to the authorized GitHub account by specifying the key ID:
gpg --export | gh gpg-key add -
- Delete a GPG key from the authorized GitHub account:
gh gpg-key delete
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
