Installing a Hook
suggest changeThe hooks are all stored in the hooks sub directory of the Git directory. In most projects, that’s .git/hooks.
To enable a hook script, put a file in the hooks subdirectory of your .git directory that is named appropriately (without any extension) and is executable.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents