I try to implement client side git hooks to a azure devops git repository.
I added a .githooks directory to the root and implement a pre-commit hook. I commit and push everything to the repository.
But of curse the hook is only active if I execute
git config core.hooksPath .githooks
after cloning the repository.
The question is here: is there a possiblity to set the git config core.hooksPath per default to .githooks otherwise it will be impossible to force a user to use a hook. :/