@ACL all
A check-branch-name hook for pre-commit.
See also: https://github.com/pre-commit/pre-commit
Add this to your .pre-commit-config.yaml
- repo: https://github.com/aneustroev/check-branch-name
rev: v0.0.2 # Use the ref you want to point at
hooks:
- id: check-branch-name
args:
- --regexp=".*"