$ cz check --help
usage: cz check [-h]
[--commit-msg-file COMMIT_MSG_FILE | --rev-range REV_RANGE | -d
| -m MESSAGE]
[--allow-abort][--allowed-prefixes [ALLOWED_PREFIXES ...]]
[-l MESSAGE_LENGTH_LIMIT]
Validate that a commit message matches the commitizen schema
options:
-h, --help show this help message and exit
--commit-msg-file COMMIT_MSG_FILE
Ask for the name of the temporary file that contains
the commit message. Use it in a git hook script:
MSG_FILE=$1.
--rev-range REV_RANGE
Validate the commits in the given range of git rev,
e.g., master..HEAD.
-d, --use-default-range
Validate the commits from the default branch to HEAD,
e.g., refs/remotes/origin/master..HEAD.
-m MESSAGE, --message MESSAGE
Validate the given commit message.
--allow-abort Allow empty commit messages, which typically abort a
commit.
--allowed-prefixes [ALLOWED_PREFIXES ...]
Skip validation for commit messages that start with
the specified prefixes.
-l MESSAGE_LENGTH_LIMIT, --message-length-limit MESSAGE_LENGTH_LIMIT
Restrict the length of the **first line** of the
commit message; 0 for no limit.