Re: global hooks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Victor Bogado da Silva Lins <victor@xxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux