push-hook (on the receiving side)

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

push-hook (on the receiving side)

From: Yakov Lerner <hidden>
Date: 2016-06-15 22:43:04

How can I define the push-hook on the receiving side of the
push, so that some script or command is executed on the
repo on the receiving side of the push ?

Thanks
Yakov

Re: push-hook (on the receiving side)

From: Michael Spang <hidden>
Date: 2016-06-15 22:43:04

Yakov Lerner wrote:
How can I define the push-hook on the receiving side of the
push, so that some script or command is executed on the
repo on the receiving side of the push ?

Thanks
Yakov
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Yes, receive-pack has hooks for this. See git-receive-pack(1) and hooks.txt.

Cheers,
Michael Spang
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help