Thread (1 message) 1 message, 1 author, 2016-06-15

Re: git hooks to run something

From: Jeff King <hidden>
Date: 2016-06-15 22:46:28

[re-adding git@vger to cc; please keep questions on-list so that others
can also help to answer]

On Wed, Mar 25, 2009 at 11:33:39AM +0100, Alf Clement wrote:
is there a way to push a modified hook script with the repository when
I push it to a server?
And how to get it with pull?
No; for security reasons, no code (including hooks) from remote
repositories is automatically run. The usual method is to include the
hook in your repository and copy it into place after cloning.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help