Skip to main content

Managing rulesets for a repository

Rulesets help you to control how people can interact with branches and tags in a repository.

Rulesets are available in public repositories with GitHub Free and GitHub Free for organizations, and in public and private repositories with GitHub Pro, GitHub Team, and GitHub Enterprise Cloud. For more information, see "GitHub’s plans."

About rulesets

Rulesets help you to control how people can interact with branches and tags in a repository.

Creating rulesets for a repository

You can add rulesets to a repository to control how people can interact with specific branches and tags.

Managing rulesets for a repository

You can edit, monitor, and delete existing rulesets in a repository to alter how people can interact with specific branches and tags.

Available rules for rulesets

Learn which rules you can add to a ruleset to protect specific branches and tags in a repository.

Troubleshooting rules

Learn how to troubleshoot rulesets when you're contributing to a repository.