GH-REPO-LIST(1)
π gh-repo-list(1) β the GitHub CLI manual, bestie edition π
okay so real quick: this is gh-repo-list(1) from the GitHub CLI manual, and it's literally the page that shows you all the repos a person or an org owns. grab a snack, we're listing π
β¨ NAME β¨
gh-repo-list β list repositories owned by a user or organization π«Ά
β¨ SYNOPSIS β¨
gh repo list [<owner>] [flags]
β¨ DESCRIPTION β¨
Lists repositories owned by a user or an organization. that's it, that's the vibe π
β οΈ okay this part matters so listen up: the list will only include repositories owned by the provided argument, and the--forkor--sourceflags will not traverse ownership boundaries. for example, when listing the forks in an organization, the output would not include those owned by individual users. no cap, it stays in its lane π
β¨ OPTIONS β¨
--archivedβ show only archived repositories ποΈ--forkβ show only forks π΄-q,--jq<expression> β filter JSON output using a jq expression β¨--json<fields> β output JSON with the specified fields π§Ύ-l,--language<string> β filter by primary coding language π»-L,--limit<int> (default30) β maximum number of repositories to list π’--no-archivedβ omit archived repositories π--sourceβ show only non-forks π±-t,--template<string> β format JSON output using a Go template; seegh help formattingπ--topic<strings> β filter by topic π·οΈ--visibility<string> β filter by repository visibility:{public|private|internal}π
β¨ ALIASES β¨
gh repo ls β same energy, shorter typing, iykyk π«
β¨ JSON FIELDS β¨
these are the fields you can ask for with --json, and yes, it's a lot, but she ate π₯
archivedAt, assignableUsers, codeOfConduct, contactLinks, createdAt, defaultBranchRef, deleteBranchOnMerge, description, diskUsage, forkCount, fundingLinks, hasDiscussionsEnabled, hasIssuesEnabled, hasProjectsEnabled, hasWikiEnabled, homepageUrl, id, isArchived, isBlankIssuesEnabled, isEmpty, isFork, isInOrganization, isMirror, isPrivate, isSecurityPolicyEnabled, isTemplate, isUserConfigurationRepository, issueTemplates, issues, labels, languages, latestRelease, licenseInfo, mentionableUsers, mergeCommitAllowed, milestones, mirrorUrl, name, nameWithOwner, openGraphImageUrl, owner, parent, primaryLanguage, projects, projectsV2, pullRequestTemplates, pullRequests, pushedAt, rebaseMergeAllowed, repositoryTopics, securityPolicyUrl, squashMergeAllowed, sshUrl, stargazerCount, templateRepository, updatedAt, url, usesCustomOpenGraphImage, viewerCanAdminister, viewerDefaultCommitEmail, viewerDefaultMergeMethod, viewerHasStarred, viewerPermission, viewerPossibleCommitEmails, viewerSubscription, visibility, watchers
β¨ EXIT CODES β¨
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 π§
β¨ SEE ALSO β¨
gh-repo(1) β go say hi to the parent page π¦
and that's the whole page, bestie π this was GitHub CLI v2.102.0, dated Oct 2026 β iconic, timeless, periodt π
π¦ 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