To install the hook, you can create a symlink to it in .git/hooks, or you can simply copy and paste it into the .git/hooks directory whenever the hook is updated.
$ cp pre-commit ../../.git/hooks/| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
To install the hook, you can create a symlink to it in .git/hooks, or you can simply copy and paste it into the .git/hooks directory whenever the hook is updated.
$ cp pre-commit ../../.git/hooks/