Scroll to navigation

GT-REPO-LIST(1) gitea-cli Manual GT-REPO-LIST(1)

NAME

gt-repo-list - List repositories

SYNOPSIS

gt repo list [<owner>] [flags]

DESCRIPTION

List the repositories you can access, those of a user or organization, or the repositories you starred or watch.

JSON FIELDS

actions_enabled, archived, clone_url, default_branch, description, empty,
fork, forks_count, full_name, id, mirror, mirror_interval, name,
open_issues_count, open_pr_count, original_url, parent, private, ssh_url,
stars_count, template, topics, updated_at, url, website

OPTIONS

-h, --help[=false] help for list

-L, --limit=30 Maximum number of results (1..1000)

--page=1 Result page

--select[=false] Pick an item from a filterable list, view it and choose what to do with it

--starred[=false] List your starred repositories

--type="" Only list repositories of this kind {fork|source|mirror}

--watched[=false] List the repositories you watch

OPTIONS INHERITED FROM PARENT COMMANDS

--csv[=""] Output CSV with the specified comma-separated fields, or all fields

--debug[=false] Log the method, URL, status, and duration of each HTTP request to stderr

--host="" Gitea instance URL, including any base path

--interactive[=false] Allow prompts with machine output

-q, --jq="" Filter JSON output using a jq expression; implies --json

--json[=""] Output JSON with the specified comma-separated fields, or all fields

--no-input[=false] Disable prompts and implicit editor/browser interactions

--sudo="" Perform API requests as this user (requires an administrator account)

--template="" Format JSON output using a Go template; implies --json (see gt help formatting)

--user="" Account name on the selected instance

EXAMPLE

# List the repositories you can access
$ gt repo list
# List the forks of an organization
$ gt repo list acme --type fork
# List your starred repositories as JSON
$ gt repo list --starred --json full_name,url

SEE ALSO

gt-repo(1)

Nov 2026 gitea-cli