Scroll to navigation

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

NAME

gh-repo-list - List repositories owned by user or organization

SYNOPSIS

gh repo list [<owner>] [flags]

DESCRIPTION

List repositories owned by a user or organization.

Note that the list will only include repositories owned by the provided argument, and the --fork or --source flags will not traverse ownership boundaries. For example, when listing the forks in an organization, the output would not include those owned by individual users.

OPTIONS

Show only archived repositories

Show only forks

Filter JSON output using a jq expression

Output JSON with the specified fields

Filter by primary coding language

Maximum number of repositories to list

Omit archived repositories

Show only non-forks

Format JSON output using a Go template; see "gh help formatting"

Filter by topic

Filter by repository visibility: {public|private|internal}

SEE ALSO

gh-repo(1)

May 2024 GitHub CLI v2.49.0