Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: global hooks

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:44:24

Victor Bogado da Silva Lins [off-list ref] writes:
SO my question is, is there a way to make that hook global to all
projects? If not, would it be a good idea to allow this?
Probably a post- git-init hook that lets you do anything to your newly
created repository would be the only thing that you need.  Then you can
copy, untar or even use symlink to muck with .git/hooks/ in whatever way
you please.

There needs a mechanism for you to specify what that hook is, and it
cannot be in individual repositories, so it has to live in ~/.gitconfig
somewhere.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help