pre-commit / pre-commit-hooks

Some out-of-the-box hooks for pre-commit
MIT License
5.2k stars 694 forks source link

New hook for enforcing branch name #1057

Closed rmariano closed 3 months ago

rmariano commented 3 months ago

Use a regex to validate the naming convention the branch should follow. If it's not correct, it fails.

asottile commented 3 months ago

please discuss new features before wasting time on them. I also believe this has been rejected in the past