suggest change

This hook is called after pre-receive, and it works the same way. It’s called before anything is actually updated, but is called separately for each ref that was pushed rather than all of the refs at once.

This hook accepts the following 3 arguments:

This is the same information passed to pre-receive, but since update is invoked separately for each ref, you can reject some refs while allowing others.

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents