gh-ruleset
Manage GitHub repository rulesets. tldr-pages
On several platforms
Several platforms
List all rulesets for the current repository
gh [rs [lsIdentifyList all rulesets for a specific organization
gh [rs [ls --org organization_nameIdentifyCheck the rules that apply to the current branch
gh [rs checkIdentifyCheck the rules that apply to a specific branch in another repository
gh [rs check branch_name --repo owner/repositoryIdentifyInteractively select and view a ruleset for the current repository
gh [rs viewIdentifyView a specific ruleset by its ID
gh [rs view ruleset_idIdentifyView an organization-level ruleset by its ID
gh [rs view ruleset_id --org organization_nameIdentifyOpen the list of rulesets for a specific repository in the browser
gh [rs [ls --repo owner/repository --webIdentify