Description:
Linting for your git commit messages
|
|
Type: Formula
|
Latest Version: 0.19.1@0
|
Tracked Since: Oct 12, 2025
|
|
Links:
Homepage |
formulae.brew.sh
|
|
Category: Developer tools
|
|
Tags:
git
linter
commit
ci-cd
python
|
|
Install:
brew install gitlint
|
About:
gitlint is a linter for your git commit messages, enforcing a set of rules to ensure consistency and quality. It helps teams maintain clean, readable, and standardized commit histories by checking messages against configurable style guidelines. This tool is ideal for CI/CD pipelines to automatically validate commits.
|
Key Features:
- Enforces commit message style rules (e.g., line length, subject format)
- Highly configurable via a .gitlint file
- Supports commit-msg hook for automatic validation
- Detects common issues like 'WIP' or merge commits
- Easy integration into CI/CD workflows
|
Use Cases:
- Enforcing a standardized commit message format across a development team
- Automating commit quality checks in CI/CD pipelines (e.g., GitHub Actions, GitLab CI)
|
Alternatives:
-
commitlint
– commitlint is JavaScript-based and highly configurable via plugins, while gitlint is Python-based and focuses specifically on commit message content.
-
conventional-changelog-cli
– conventional-changelog-cli focuses on generating changelogs from standardized commits, whereas gitlint focuses on enforcing the commit style itself.
|
| Detected |
Version |
Rev |
Change |
Commit |
| Oct 12, 2025 8:55pm |
|
0 |
VERSION_BUMP |
bbc31e1f |
| Oct 10, 2024 7:00pm |
|
0 |
VERSION_BUMP |
efa716fe |
| Aug 1, 2024 4:07pm |
|
0 |
VERSION_BUMP |
cc6e9aa6 |
| Oct 8, 2023 2:11am |
|
0 |
VERSION_BUMP |
db1b4485 |
| Mar 13, 2023 11:06am |
|
0 |
VERSION_BUMP |
49ee4fda |
| Mar 13, 2023 11:06am |
|
0 |
VERSION_BUMP |
25788caf |
| Mar 10, 2023 3:05pm |
|
0 |
VERSION_BUMP |
f77116f0 |
| Mar 10, 2023 3:05pm |
|
0 |
VERSION_BUMP |
5e4701a2 |
| Nov 21, 2022 4:36am |
|
0 |
VERSION_BUMP |
b3e5305e |
|