git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* HowTo distribute a hook with the reposity.
@ 2016-12-28  1:34 John P. Hartmann
  2016-12-28  5:32 ` Jacob Keller
  0 siblings, 1 reply; 9+ messages in thread
From: John P. Hartmann @ 2016-12-28  1:34 UTC (permalink / raw)
  To: git

I would like a hook in .got/hooks to be made available to all who clone 
or pull a particular project.  I'd also like the hook to be under git 
control (changes committed &c).  I added a hook, but git status does not 
show it.  Presumably git excludes its files in .git/ from version 
control lest there be a chiken-and-egg situation.

Is there a way to achieve this?  Or a better way to do it?

Thanks,  j.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2016-12-29 10:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-28  1:34 HowTo distribute a hook with the reposity John P. Hartmann
2016-12-28  5:32 ` Jacob Keller
2016-12-28  6:08   ` Jeff King
2016-12-28  8:42     ` John P. Hartmann
2016-12-28  8:52       ` Jeff King
2016-12-28  9:09         ` John P. Hartmann
2016-12-28  9:20           ` Jeff King
2016-12-28 18:53     ` Jacob Keller
2016-12-29 10:29       ` Lars Schneider

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).