post-receive is executed after the push
Am Freitag, 26. Juli 2013 15:09:38 UTC+2 schrieb Konstantin Khomoutov:
> On Fri, 26 Jul 2013 05:43:34 -0700 (PDT)
> > I have a central git bare repository and would like to run a
> > post-commit after the git push on a local repository on an other
> > server. But the post-commit does nothing or is not executed.
> I suspect you're confusing committing and pushing -- committing happens
> when you run `git commit`, and committing does not result in any
> network transfer -- only the local repository is updated.
> Then you might push the updated history to another repository, and for
> that repository, this act is called "reception" (of new objects), which
> might then result in "updating" (of refs, such as branches and tags),
> and so pre-receive, post-receive, update and post-update hooks are run,
> if present. Consult the githooks(5) manual for details.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.