GH-RULESET(1)
π GH-RULESET(1) β the gh-ruleset glow-up
okay bestie, you're reading the manual page for gh-ruleset, straight out of the GitHub CLI manual (yes, that GitHub CLI manual) β¨
πΈ NAME
gh-ruleset β peek at info about repo rulesets π
β¨ SYNOPSIS
gh ruleset <command> [flags]
π DESCRIPTION
so, repo rulesets? they're literally a way to define a set of rules that apply to a repository. iconic behavior π«Ά
and these commands? they let you view information about them. that's the whole vibe. no cap.
π AVAILABLE COMMANDS
gh-ruleset-check(1)β view the rules that would apply to a given branch. like a vibe check, but for branches πgh-ruleset-list(1)β list rulesets for a repository or organization. the full roster, bestie πgh-ruleset-view(1)β view information about a ruleset. the deep dive π
β OPTIONS
-R,--repo <[HOST/]OWNER/REPO>β select another repository using the[HOST/]OWNER/REPOformat. yes, keep the brackets exactly like that, she's specific π
π¦ ALIASES
gh rs
short, sweet, main character energy. use it π
π₯ EXIT CODES
0β successful execution π slay1β error π2β command canceled π4β authentication required π (go log in, bestie)
NOTE: specific commands may have additional exit codes. refer to the command's help for more information. fr fr, always check π
πΌ EXAMPLE
$ gh ruleset list
$ gh ruleset view --repo OWNER/REPO --web
$ gh ruleset check branch-name
three lil commands, all iconic β
π§ SEE ALSO
gh(1) β the parent, the origin story π
and that's the whole page! brought to you by GitHub CLI v2.102.0, dated Oct 2026 β¨ mwah, go check those rulesets bestie πππ¦
π¦ where this page comes from
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- opensuse-leap 16.0: gh 2.102.0-bp160.1.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms