Repo
gh list repo
gh repo list KantarProfiles --limit 1000
Useful variations:
Only names
gh repo list KantarProfiles --limit 1000 --json nameWithOwner -q '.[].nameWithOwner'
Include private repos only / exclude archived / forks
gh repo list KantarProfiles --limit 1000 --visibility private --no-archived --source
Full details as JSON
gh repo list KantarProfiles --limit 1000 --json name,visibility,isArchived,pushedAt
Notes:
- The default limit is 30, so pass --limit to see everything.
- If the org uses SAML SSO, authorize your token first ( gh auth refresh -s read:org , then authorize SSO in the browser) or private repos may not appear.