GH-REPO-AUTOLINK-LIST(1) GitHub CLI manual GH-REPO-AUTOLINK-LIST(1)

gh-repo-autolink-list - List autolink references for a GitHub repository

gh repo autolink list [flags]

Gets all autolink references that are configured for a repository.

Information about autolinks is only available to repository administrators.

Filter JSON output using a jq expression
Output JSON with the specified fields
Format JSON output using a Go template; see "gh help formatting"
List autolink references in the web browser

Select another repository using the [HOST/]OWNER/REPO format

gh repo autolink ls

id, isAlphanumeric, keyPrefix, urlTemplate

0: Successful execution

1: Error

2: Command canceled

4: Authentication required

NOTE: Specific commands may have additional exit codes. Refer to the command's help for more information.

gh-repo-autolink(1)

Jan 2025