Skip site navigation (1)Skip section navigation (2)

  
 
  

home | help
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 ar-
     gument, and the --fork or --source flags will not traverse ownership bound-
     aries.  For  example, when listing the forks in an organization, the output
     would not include those owned by individual users.

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> (default 30)
	    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; see "gh help formatting"

     --topic <strings>
	    Filter by topic

     --visibility <string>
	    Filter by repository visibility: {public|private|internal}

ALIASES
     gh repo ls

JSON FIELDS
     archivedAt, assignableUsers, codeOfConduct,  contactLinks,  createdAt,  de-
     faultBranchRef,  deleteBranchOnMerge,  description,  diskUsage,  forkCount,
     fundingLinks, hasDiscussionsEnabled, hasIssuesEnabled,  hasProjectsEnabled,
     hasWikiEnabled, homepageUrl, id, isArchived, isBlankIssuesEnabled, isEmpty,
     isFork, isInOrganization, isMirror, isPrivate, isSecurityPolicyEnabled, is-
     Template,	isUserConfigurationRepository,	issueTemplates,  issues, labels,
     languages,  latestRelease,  licenseInfo,  mentionableUsers,  mergeCommitAl-
     lowed,   milestones,  mirrorUrl,  name,  nameWithOwner,  openGraphImageUrl,
     owner, parent, primaryLanguage, projects, projectsV2, pullRequestTemplates,
     pullRequests, pushedAt, rebaseMergeAllowed, repositoryTopics, securityPoli-
     cyUrl, squashMergeAllowed, sshUrl, stargazerCount, templateRepository,  up-
     datedAt, url, usesCustomOpenGraphImage, viewerCanAdminister, viewerDefault-
     CommitEmail,  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  com-
     mand's help for more information.

SEE ALSO
     gh-repo(1)

				    Aug 2026			 GH-REPO-LIST(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=gh-repo-list&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help