Skip to Main content

tuyen git check-commit-message

Validate the commit message format against configured patterns.

Usage

tuyen git check-commit-message [OPTIONS] --commit-message-file <COMMIT_MESSAGE_FILE>

Options

-m, --commit-message-pattern <COMMIT_MESSAGE_PATTERN>

  • Regex patterns the commit message must match, can be specified multiple times.

-f, --commit-message-file <COMMIT_MESSAGE_FILE>

  • Path to the file containing the commit message.
  • Required: Yes.

-h, --help

  • Print help.