1GH-REPO-LIST(1) GitHub CLI manual GH-REPO-LIST(1)
2
3
4
6 gh-repo-list - List repositories owned by user or organization
7
8
9
11 gh repo list [<owner>] [flags]
12
13
14
16 List repositories owned by a user or organization.
17
18
19 Note that the list will only include repositories owned by the provided
20 argument, and the --fork or --source flags will not traverse ownership
21 boundaries. For example, when listing the forks in an organization, the
22 output would not include those owned by individual users.
23
24
25
27 --archived
28 Show only archived repositories
29
30
31 --fork Show only forks
32
33
34 -q, --jq <expression>
35 Filter JSON output using a jq expression
36
37
38 --json <fields>
39 Output JSON with the specified fields
40
41
42 -l, --language <string>
43 Filter by primary coding language
44
45
46 -L, --limit <int>
47 Maximum number of repositories to list
48
49
50 --no-archived
51 Omit archived repositories
52
53
54 --source
55 Show only non-forks
56
57
58 -t, --template <string>
59 Format JSON output using a Go template; see "gh help formatting"
60
61
62 --topic <strings>
63 Filter by topic
64
65
66 --visibility <string>
67 Filter by repository visibility: {public|private|internal}
68
69
70
72 gh-repo(1)
73
74
75
76 Oct 2023 GH-REPO-LIST(1)