GH-REPO-AUTOLINK(1)

okay so bestie, this is the gh repo autolink manual page from the GitHub CLI manual and honestly? it's giving "small but mighty" πŸŽ€ let's get into it


πŸ’– NAME πŸ’–

gh-repo-autolink β€” manage autolink references πŸ¦‹


🌸 SYNOPSIS 🌸

gh repo autolink <command> [flags]

short, sweet, iconic, periodt ✨


🧚 DESCRIPTION 🧚

okay so what even is an autolink? autolinks link issues, pull requests, commit messages, and release descriptions to external third-party services πŸ’… that's the whole vibe. you type something, it magically becomes a link to somewhere outside GitHub. no cap, it's useful.

⚠️ heads up bestie: autolinks require admin role to view or manage. so if it's not working, do a vibe check on your permissions first 😭

for more information, see:

⟨https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/configuring-autolinks-to-reference-external-resources⟩

(yeah that URL is a whole paragraph, we don't make the rules, GitHub does πŸ™ˆ)


πŸ‘‘ AVAILABLE COMMANDS πŸ‘‘


πŸŽ€ OPTIONS πŸŽ€

  • -R, --repo <[HOST/]OWNER/REPO> β€” select another repository using the [HOST/]OWNER/REPO format 🫢 like, "not this repo, that repo" β€” the format is literally [HOST/]OWNER/REPO, keep it exact bestie

⭐ EXIT CODES ⭐

these are the numbers the command gives you back, and each one is a different mood:

  • 0: successful execution βœ… slay, it worked
  • 1: error ❌ something went sideways
  • 2: command canceled πŸ™ˆ you (or something) hit the brakes
  • 4: authentication required πŸ” it's giving "who even are you" β€” log in first
πŸ“Œ NOTE: specific commands may have additional exit codes. refer to the command's help for more information. iykyk, always check the subcommand's own help πŸ’œ

🌈 SEE ALSO 🌈

  • gh-repo(1) β€” the parent page, the whole ecosystem, the mothership πŸ›Έ

mwah πŸ’‹ that's the page! this little beauty comes to you from GitHub CLI v2.102.0, dated Oct 2026 β€” so like, future vibes but make it documentation πŸ“…βœ¨ go forth and autolink responsibly, bestie πŸ“πŸ’–

πŸ“¦ where this page comes from