CmdID

CmdID / Commands

gh-ruleset

Manage GitHub repository rulesets. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List all rulesets for the current repository

gh [rs [lsIdentify

List all rulesets for a specific organization

gh [rs [ls --org organization_nameIdentify

Check the rules that apply to the current branch

gh [rs checkIdentify

Check the rules that apply to a specific branch in another repository

gh [rs check branch_name --repo owner/repositoryIdentify

Interactively select and view a ruleset for the current repository

gh [rs viewIdentify

View a specific ruleset by its ID

gh [rs view ruleset_idIdentify

View an organization-level ruleset by its ID

gh [rs view ruleset_id --org organization_nameIdentify

Open the list of rulesets for a specific repository in the browser

gh [rs [ls --repo owner/repository --webIdentify