I've some hooks that I have stored in a custom_hooks folder and are part of remote repository stored in a centralized location.
When other developer does a git clone of the repository, the scripts in the custom_hooks folder should be copied to the folder .git/hooks/ in his local system.
I've read that we can create script that would create a symbolic link between custom_hooks folder .git/hooks/.
Wondering how to execute the script or command as part of clone command?
Once a developer runs a git clone of the repository the custom hooks should be automatically copied to the .git/hooks/ without any manual intervention.
Could someone please help me.
Thanks in Advance !!!