Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Protect Branches - Control GitHub Branches | Online Free DevTools by Hexmos

Control GitHub branches protection with Protector. Protect or unprotect branches using regular expressions for comprehensive repository management. Free online tool, no registration required.

protector

Protect or unprotect branches on GitHub repositories. More information: https://github.com/jcgay/protector.

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

protector {{branches_regex}} -repos {{organization/repository}}

  • Use the dry run to see what would be protected (can also be used for freeing):

protector -dry-run {{branches_regex}} -repos {{organization/repository}}

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

protector -free {{branches_regex}} -repos {{organization/repository}}

See Also