-
Set a symbolic link to
~/githooks
from./githooks
ln -s ~/<Full Path>/home/githooks ~/githooks
-
Config Git to globally use ~/githooks
git config --global core.hooksPath ~/githooks
Note
To bypass hooks use --no-verify flag while committing and pushing.