How To Identify If A Git Commit Skipped Pre-hook Checks Or Not?
We have set of predefined pre-hooks which checks for code validation and runs commit message enforcers and some-other things, but people tend to skip this validations by running
git commit -n.
Is there way to identify those commits which skipped pre-hooks ? Or can we add some metadata to each commit with pre-hooks passed or pre-hooks failed ?
The only way to do this would be using a server side hook or in a CI job.
For GitHub.com users, there's also pre-commit.ci.
- → Authenticate with a cookie using laravel 5.1 and jwt
- → Finding a specific GitLab tag from PHP
- → React: How to publish page on server using React-starter-kit
- → babel-loader, webpack, ES2015 modules: "Element type is invalid"
- → Create a function-attribute of a function, which is, in its turn, a method of an object literal
- → Model Validation in laravel 5.1 not working
- → GIT fatal: loose object
- → Laravel validation required rule not working
- → Axios array map callback
- → Where does this `webpack://` come from for `webpack-dev-middleware`?
- → error when trying to modify project in laravel forge
- → GitHub Pages and Jekyll content duplication and SEO issues
- → Use Laravel repositories with Datatables