1GH-RULESET(1)                  GitHub CLI manual                 GH-RULESET(1)
2
3
4

NAME

6       gh-ruleset - View info about repo rulesets
7
8
9

SYNOPSIS

11       gh ruleset <command> [flags]
12
13
14

DESCRIPTION

16       Repository  rulesets are a way to define a set of rules that apply to a
17       repository.  These commands allow you to view information about them.
18
19
20

AVAILABLE COMMANDS

22       gh-ruleset-check(1)
23              View rules that would apply to a given branch
24
25
26       gh-ruleset-list(1)
27              List rulesets for a repository or organization
28
29
30       gh-ruleset-view(1)
31              View information about a ruleset
32
33
34

OPTIONS

36       -R, --repo <[HOST/]OWNER/REPO>
37              Select another repository using the [HOST/]OWNER/REPO format
38
39
40

EXAMPLE

42              $ gh ruleset list
43              $ gh ruleset view --repo OWNER/REPO --web
44              $ gh ruleset check branch-name
45
46
47
48
49

SEE ALSO

51       gh(1)
52
53
54
55                                   Oct 2023                      GH-RULESET(1)
Impressum