gh-ruleset - Man Page
View info about repo rulesets
Synopsis
gh ruleset <command> [flags]
Description
Repository rulesets are a way to define a set of rules that apply to a repository. These commands allow you to view information about them.
Available Commands
- gh-ruleset-check(1)
View rules that would apply to a given branch
- gh-ruleset-list(1)
List rulesets for a repository or organization
- gh-ruleset-view(1)
View information about a ruleset
Options
- -R, --repo <[HOST/]OWNER/REPO>
Select another repository using the [HOST/]OWNER/REPO format
Example
$ gh ruleset list $ gh ruleset view --repo OWNER/REPO --web $ gh ruleset check branch-name
See Also
Referenced By
gh(1), gh-ruleset-check(1), gh-ruleset-list(1), gh-ruleset-view(1).
Jul 2024 GitHub CLI manual