git pre-commit hook bypass email
问题 I have a pre-commit hook that runs PHP Codesniffer on all files in the staging area. However, sometimes developers bypass this hook by adding --no-verify option to the git commit command. Is there a way I can send an email each time a developer bypasses the hook? 回答1: Too long for a comment, but probably not a complete answer. Whooph... In the DVCS world everything that happens in a private repo is a private business. You as a team repository administrator can propose them some facilities to