Git · Senior · Question 27 of 76

What can a server-side pre-receive hook do that client hooks can't?

Explanation

Client hooks are optional and bypassable with --no-verify. Server hooks (or platform rules) enforce policies like no force-push or no large files for every push.

Further reading

Problem with a question

Git · Senior · question 27

Test yourself

Take the Git · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz