Closed
Description
For speedy development, I'd configure certain hooks for different stages.
A common example:
- run pre-commit hooks on the
prepush
stage (to make sure only "clean" stuff gets remoted) - don't run anything on commit to avoid disrupting developer's flow
- alias
prepush
hooks from a justfile, so developer can run - e.g. -just fmt
conscientiously and avoid surprises atgit push
(promote the stimulus of being in control)
Therefore, I'd need to configure:
- either
hook = { stages = ["manual", "push"] }
- or something global
... run { ...; stages = [ "manual", "push" ] }