git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Spang <mcspang@gmail.com>
To: Yakov Lerner <iler.ml@gmail.com>
Cc: Git Mailing List <git@vger.kernel.org>
Subject: Re: push-hook (on the receiving side)
Date: Mon, 16 Apr 2007 21:13:13 -0400	[thread overview]
Message-ID: <46241F29.2010509@gmail.com> (raw)
In-Reply-To: <f36b08ee0704161805yd9cbd22ue8af69682979daba@mail.gmail.com>

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

      reply	other threads:[~2007-04-17  1:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-17  1:05 push-hook (on the receiving side) Yakov Lerner
2007-04-17  1:13 ` Michael Spang [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46241F29.2010509@gmail.com \
    --to=mcspang@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=iler.ml@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).