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
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)
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