git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: push-hook (on the receiving side)

From
MSMichael 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

Previous: Yakov Lerner
Message 2 of 2 in “push-hook (on the receiving side)”
  1. Yakov LernerApr 17, 2007
  2. Michael SpangApr 17, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.