Skip to content

CLI

Terminal window
$ commitlint --help
Usage: commitlint <command> [flags]
A lightweight, fast, and cross-platform CLI tool for linting Git commit messages.
With <3 by Jurien.dev
Flags:
-h, --help Show context-sensitive help.
-v, --version Print the version number
Commands:
lint Test the given message
install Install commitlint in your repository
Run "commitlint <command> --help" for more information on a command.
Terminal window
Usage: commitlint install [flags]
Install commitlint in your repository
Flags:
-h, --help Show context-sensitive help.
-v, --version Print the version number
--global Wether to install commitlint config globally
--register-hooks Wether to register commitlint global hooks to git
Terminal window
Usage: commitlint lint [<message> ...] [flags]
Test the given message
Arguments:
[<message> ...] The message to lint
Flags:
-h, --help Show context-sensitive help.
-v, --version Print the version number