This demo is to show the simple git hooks with gradle project.
There are three different types of hooks:
- pre-commit hook: run checkstyle before commit.
- commit-msg hook: check if the commit message is follow the Conventional Commit rule.
- pre-push: run all tests before push to remote