zlacker
[parent]
[thread]
0 comments
1. rav+(OP)
[view]
[source]
2025-02-17 22:14:28
Ooh, core.hooksPath is quite nifty. I usually use something like
ln -sf ../../scripts/git-pre-commit-hook .git/hooks/pre-commit
which simply adds a pre-commit symlink to a script in the repo's scripts/ dir. But hooksPath seems better.
[go to top]