{"thread":{"id":"7702","subject":"push-hook (on the receiving side)","startedAt":"2007-04-17T01:05:13Z","lastAt":"2007-04-17T01:13:13Z","messageCount":2,"participants":["Yakov Lerner","Michael Spang"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"39581","messageId":"f36b08ee0704161805yd9cbd22ue8af69682979daba@mail.gmail.com","threadId":"7702","inReplyTo":null,"subject":"push-hook (on the receiving side)","fromName":"Yakov Lerner","fromEmail":"iler.ml@gmail.com","sentAt":"2007-04-17T01:05:13Z","receivedAt":"2007-04-17T01:05:13Z","isPatch":false,"sender":{"key":"iler.ml@gmail.com","avatar":null},"body":"How can I define the push-hook on the receiving side of the\npush, so that some script or command is executed on the\nrepo on the receiving side of the push ?\n\nThanks\nYakov\n"},{"id":"39583","messageId":"46241F29.2010509@gmail.com","threadId":"7702","inReplyTo":"f36b08ee0704161805yd9cbd22ue8af69682979daba@mail.gmail.com","subject":"Re: push-hook (on the receiving side)","fromName":"Michael Spang","fromEmail":"mcspang@gmail.com","sentAt":"2007-04-17T01:13:13Z","receivedAt":"2007-04-17T01:13:13Z","isPatch":false,"sender":{"key":"mcspang@gmail.com","avatar":null},"body":"Yakov Lerner wrote:\n> How can I define the push-hook on the receiving side of the\n> push, so that some script or command is executed on the\n> repo on the receiving side of the push ?\n> \n> Thanks\n> Yakov\n> -\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n> \n\nYes, receive-pack has hooks for this. See git-receive-pack(1) and hooks.txt.\n\nCheers,\nMichael Spang\n"}]}