Examples (3)
Protect branches of a GitHub repository (create branch protection rules)
protector branches_regex -repos organization/repositoryUse the dry run to see what would be protected (can also be used for freeing)
protector -dry-run branches_regex -repos organization/repositoryFree branches of a GitHub repository (delete branch protection rules)
protector -free branches_regex -repos organization/repositorymade by @shridhargupta | data from tldr-pages