gh ruleset
Manage GitHub repository rulesets. More information: https://cli.github.com/manual/gh_ruleset.
- List all rulesets for the current repository:
gh
- List all rulesets for a specific organization:
gh
- Check the rules that apply to the current branch:
gh check
- Check the rules that apply to a specific branch in another repository:
gh check /
- Interactively select and view a ruleset for the current repository:
gh view
- View a specific ruleset by its ID:
gh view
- View an organization-level ruleset by its ID:
gh view
- Open the list of rulesets for a specific repository in the browser:
gh /
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
