Single hook ID:
rip0005-gitflow
repos:
- repo: <hook-repo-url>
rev: <tag-or-commit>
hooks:
- id: rip0005-gitflowpre-commit install --install-hooks --hook-type commit-msg --hook-type pre-pushcommit-msg: blocks direct commits tomain,master, anddevelop, and rejects stale merge commits.pre-push: checks branch rebase state, blocks non-merge commits on protected branches, and blocks overlapping stale merges on protected branches.
remote: origin
protected branches: main master develop
arguments: none