Glossary Git / Term
During the normal execution of several Git commands, call-outs are made to optional scripts that allow a developer to add functionality or checking. Typically, the hooks allow for a command to be pre-verified and potentially aborted, and allow for a post-notification after the operation is done. The hook scripts are found in the $GIT_DIR/hooks/
directory, and are enabled by simply removing the .sample
suffix from the filename. In earlier versions of Git you had to make them executable.
Permanent link hook - Creation date 2023-07-26