gitlint

Git commit message linter checks your commit messages for style.

TLDR

Check the last commit message

$ gitlint
copy

The range of commits to lint

$ gitlint --commits [single_refspec_argument]
copy

Path to a directory or python module with extra user-defined rules

$ gitlint --extra-path [path/to/directory]
copy

Start a specific CI job

$ gitlint --target [path/to/target_directory]
copy

Path to a file containing a commit-msg

$ gitlint --msg-filename [path/to/filename]
copy

Read staged commit meta-info from the local repository

$ gitlint --staged
copy

Copied to clipboard
Swissborg