protector
Protect or unprotect branches on GitHub repositories. tldr-pages
On several platforms
Several platforms
Protect branches of a GitHub repository (create branch protection rules)
protector branches_regex -repos organization/repositoryIdentifySimulate what would be protected without actually doing it
protector -dry-run branches_regex -repos organization/repositoryIdentifyFree branches of a GitHub repository (delete branch protection rules)
protector -free branches_regex -repos organization/repositoryIdentify