Using Git for a long time now, I'm used to having my config variable specific for each project and some global under ~/.gitconfig
. Or same for ~/.gitignore
for global exclusion rules depending on my OS.
I'm wondering if something like this is available for hooks. Like a folder ~/.githooks/
that would populate my repositories on init or clone. Or even some hooks that would always trigger before project specific hooks.
I found nothing about this on the Git Hooks documentation. Even if you have a hacky way of doing it I would be interested.