Files
shell-scripting-templates/.hooks
Nathaniel Landau da0b0e272a initial commit
2021-08-12 15:41:29 -04:00
..
2021-08-12 15:41:29 -04:00
2021-08-12 15:41:29 -04:00

This folder contains git hooks which will be executed on the client side before certain git actions are completed.

Usage

On each local system these files must be symlinked into repo/.git/hooks directory.

ln -s "$(git rev-parse --show-toplevel)/.hooks/pre-commit.sh" "$(git rev-parse --show-toplevel)/.git/hooks/pre-commit"