GH-REPO-AUTOLINK-VIEW(1)
π gh-repo-autolink-view(1) β the GitHub CLI manual, bestie edition
okay so real quick, this is a page from the GitHub CLI manual (gh), and it's all about peeking at one single autolink reference in a repo. no cap, it's a tiny little command and honestly? iconic for it.
β¨ NAME β¨
gh-repo-autolink-view β literally just: view an autolink reference π
π¦ SYNOPSIS π¦
gh repo autolink view <id> [flags]
the way you hand it an <id> and some optional [flags]β¦ main character energy fr fr.
πΈ DESCRIPTION πΈ
View an autolink reference for a repository. that's it, that's the whole vibe. one reference, up close, like a vibe check but for autolinks π
π OPTIONS π
-q,--jq <expression>β filter that JSON output using a jq expression β¨ you get exactly the fields you want, none of the extras--json <fields>β output JSON with the specified fields π«Ά-t,--template <string>β format JSON output using a Go template; seegh help formattingπ (yes, go read that other help page, it's worth it)
π OPTIONS INHERITED FROM PARENT COMMANDS π
-R,--repo <[HOST/]OWNER/REPO>β select another repository using the[HOST/]OWNER/REPOformat π pointing at a whole different repo, no big deal
β JSON FIELDS β
the fields you can ask for are literally these four, and they are:
idisAlphanumerickeyPrefixurlTemplate
π₯ EXIT CODES π₯
0β successful execution π slay1β error π it's giving oops2β command canceled π4β authentication required π log in bestie
NOTE: specific commands may have additional exit codes. refer to the command's help for more information. π
π SEE ALSO π
gh-repo-autolink(1)β go hang out with the whole autolink family, iykyk
and that's the page!! π brought to you by GitHub CLI v2.102.0, dated Oct 2026 β mwah, go forth and view those autolinks, bestie π§π
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms