by shigemk2



githooks - Tracking changes to hooks in .git/hooks - Stack Overflow

Meta Magic: Git Hooks

Files in the .git/hooks directory are not part of the repository and so they are not tracked. A workaround is to have a git_hooks directory at the top of your repository like done in Arora and symlink .git/hooks to git_hooks whenever you clone. This way the hooks will be part of the project, under revision control and accessible to everyone.