Is there any way to make hooks part of the repository?

From: Hilco Wijbenga <hidden>
Date: 2016-06-15 22:53:42

Hi all,

There are a couple of things that keep going wrong while we are
working on our code base. Some of them are very simple to check for in
a Git hook. However, I get the impression that it is not possible to
"include" the hooks with the Git repo itself (so that "git clone"
would automatically set them up). Normally, this would not be such a
big deal: I would simply add the hooks on the server. Unfortunately,
this is not an option (we use Unfuddle and they do not support that).

Is there any way to get (some of) the Git hooks to run for everyone
without everyone having to install them separately? If no, is this by
design or simply a feature nobody has asked for (yet)?

Cheers,
Hilco
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help