On Thu, Mar 29, 2012 at 03:23:34PM -0700, Bryce Verdier wrote: > I have kind of a strange question regarding the post-recieve hook. > Currently we have a post-recieve hook that will push our code to the > webserver. But we would like to break this up so that pushing to a > particular branch will allow us to push a particular server. Is > something like this possible? The stock example post-receive hook (contrib/hooks/post-receive-email) contains code which switches on the type and name of a reference which has been update by the push operation. So I see no problem updating your hook with a similar logic.
-- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
