We'd like to have a pre-receive hook which does some checks on the pushed content and rejects it if the tests fail.
Just return non-zero exit code from pre-receive hook and push will be declined.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still have a question?
Get fast answers from people who know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.