View Source mix git_ops.check_message (Git Ops v2.6.3)
Validates a commit message against the Conventional Commits specification.
Check a file containing a commit message using:
mix git_ops.check_message <path/to/file>
or to check the most recent commit on the current branch:
mix git_ops.check_message --head
Logs an error if the commit message is not parse-able.
See https://www.conventionalcommits.org/en/v1.0.0/ for more details on Conventional Commits.