If your devs are creating shitty commits in the first place maybe you are facing a completely different problem, don&#x27;t you think?<p>We only push to master after rebasing locally which has worked out well for us for several years. Every commit is supposed to be deployable to live and CI friendly, that is, tested. So, by definition, we don&#x27;t create shitty commits (most of the time :D).