We are working with git/gerrit and have hooks in place to add change-id for every commit. We have commit-msg hook placed in repo/.git/hooks/ folder. But not everyone is following this and since project is huge, its hard to track who is not doing individually. Hence, we have few commits in gerrit without change Id.
Now is there any way we can stop such commits to be pushed at all? Any server side hook or any other way where hooks are not applied by an individual locally but still we can stop him to push wrong commits?