Hi ,
I have created a pre-commit hook inside .git/hooks/pre-commit . Now I need to add this hook to bitbuket repo so whenever some other engineer clone repo they will get the precommit hook as well. Please let us know how can I add pre-commit hook to bitbucket.
Thanks
Git does not automatically clone hooks when cloning a repository! I have seen workarounds for that, but as far as I know, Git still doesn't offer this feature.
If Git doesn't allow this, then I am affraid, Bitbucket will not, either.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.