I created a commit-msg hook in my remote repositories, but i have to manually copy it to local .git/hooks/ directory after clone the projects.
Is there any way to copy this hook to local repo at the moment of cloning? Or any way to automate this task?
I want the hook to be copied without any intervention from the programmer, only with:
$ git clone server:/path
Thank you.