Re: push-hook (on the receiving side)
- From
- Michael Spang <mcspang@gmail.com>
- Date
- Apr 17, 2007, 01:13 UTC
- Message-ID
- <46241F29.2010509@gmail.com>
- In-Reply-To
- <f36b08ee0704161805yd9cbd22ue8af69682979daba@mail.gmail.com>
Yakov Lerner wrote:
Show 11 quoted lines
> 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