Command-line tool
gitlint
brew/gitlint
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Linting for your git commit messages
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
pipx install gitlint_core
macOS
brew install gitlint pipx install gitlint_core
Linux
pipx install gitlint_core
Check the last commit message
gitlint
Lint a specific range of commits
gitlint --commits single_refspec_argument
Use a directory or Python module with extra user-defined rules
gitlint --extra-path path/to/directory
Related command-line tools
- mit-commit-message-lints
Check the correctness of a specific commit message. Designed to be used in tools providing commit-msg style hooks - commitlint
Lint commit messages according to a commit convention cli commitlint conventional-changelog - @commitlint/cli
Lint your commit messages cli commitlint conventional-changelog - commitlint-rs
CLI tool to lint commits by Conventional Commits - conventional_commits_linter
A tooling and language agnostic utility to lint Git commits against the Conventional Commits specification. - hk
Git hook and pre-commit lint manager - mit-commit-msg
Validate the commit message that a user has input - rcz
A tool to write a commit message
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents