CmdID

CmdID / Commands

protector

Protect or unprotect branches on GitHub repositories. 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

Protect branches of a GitHub repository (create branch protection rules)

protector branches_regex -repos organization/repositoryIdentify

Simulate what would be protected without actually doing it

protector -dry-run branches_regex -repos organization/repositoryIdentify

Free branches of a GitHub repository (delete branch protection rules)

protector -free branches_regex -repos organization/repositoryIdentify