Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pre-commit prevent commits to protected branches (#16970)
To help ensure NV Access admins do not accidentally commit and push to master, we can add a pre-commit check to protect branches from local commits. This would also aid other developers in preventing local commits to branches they cannot/shouldn't push to in their own forks accidentally, if they wish to contribute upstream. Description of user facing changes Add pre-commit hook which fails when trying to commit to a protected branch Description of development approach Add pre-commit hook which fails when trying to commit to a protected branch
- Loading branch information