gitlint
« Back to VersTracker
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.
Version History
Detected Version Rev Change Commit
Oct 12, 2025 8:55pm 0 VERSION_BUMP bbc31e1f
Oct 10, 2024 7:00pm 0 VERSION_BUMP efa716fe