Post #2004676
2026-05-01 01:43 UTC
-t, --hook-type [possible values: commit-msg, post-checkout,
post-commit, post-merge, post-rewrite,
pre-commit, pre-merge-commit, pre-push,
pre-rebase, prepare-commit-msg]
prek (and pre-commit) support many more hooks than the default pre-commit.
I guess prek install --install-hooks will install "all hooks used in the config file". I wonder why that was not made the default!
Replies (0)
No replies.