GH-REPO-DEPLOY-KEY(1)

πŸ’– gh-repo-deploy-key(1) β€” the deploy key glow-up πŸ’–

okay bestie, so this is a page from the GitHub CLI manual (that's the gh thing, iykyk) and it's all about wrangling deploy keys inside a repo. no cap, it's way less scary than it sounds 🫢


🌸 NAME 🌸

gh-repo-deploy-key β€” literally manage deploy keys in a repository. that's the whole vibe. ✨


πŸŽ€ SYNOPSIS πŸŽ€

gh repo deploy-key <command> [flags]

so yeah, you call gh repo deploy-key and then hand it a <command> plus whatever [flags] you're feeling πŸ’…


πŸ¦‹ AVAILABLE COMMANDS πŸ¦‹

these are your three main-character subcommands, bestie:

three little icons, one iconic toolkit fr fr πŸ’–


✨ OPTIONS ✨

  • -R, --repo <[HOST/]OWNER/REPO> β€” pick a different repository using the [HOST/]OWNER/REPO format 🌈 (yes, that's the exact format, don't come for me)

πŸ’€ EXIT CODES πŸ’€

the receipts, bestie β€” what the command hands back when it's done:

  • 0: successful execution βœ… slay
  • 1: error 😭
  • 2: command canceled πŸ™ˆ
  • 4: authentication required πŸ” (go log in, babe)
NOTE: specific commands may have additional exit codes. refer to the command's help for more information. so like, don't @ me if add has extra drama β€” check its help page 🫢

πŸ‘‘ SEE ALSO πŸ‘‘

  • gh-repo(1) β€” the parent page, the main character it all belongs to πŸ’œ

and that's the whole page, bestie β€” every flag, every exit code, every reference, all accounted for πŸŽ€

this iconic little manual is from GitHub CLI v2.102.0, dated Oct 2026 β€” so go forth, manage those deploy keys, and remember: keys are the vibe check of your repo πŸ”‘βœ¨πŸ’…

πŸ“¦ where this page comes from