Automic VaultAutomic Vault

brew

Install gitlint with Homebrew, apk, apt, dnf, MacPorts, Nix, zypper

Linting for your git commit messages. Version 0.19.1 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install gitlint

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install gitlint

MacPorts ports tree · devel/gitlint/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add gitlint

Alpine Linux edge package indexes · gitlint · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install gitlint

Debian stable package indexes · gitlint · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install gitlint

Fedora Rawhide package metadata · gitlint · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#gitlint

nixpkgs package indexes · pkgs/by-name/gi/gitlint/package.nix · source: api.github.com

openSUSE zypperverified · 92%
sudo zypper install python313-gitlint

openSUSE Tumbleweed package metadata · python313-gitlint · source: download.opensuse.org

overview

Package summary

Linting for your git commit messages

Commands and aliases

  • gitlint

history

Project history and usage

Gitlint is a Python command-line linter for Git commit messages. It gives teams a way to enforce subject length, body formatting, trailers, conventional-commit-like rules, and custom policies before commits or merge requests land.

Project history

The GitHub repository was created in September 2015 and the PyPI package history begins with the 0.1.0 release. The project grew as a small but durable Git add-on with documentation, built-in rules, user-defined rules, hooks, and CI usage patterns.

The 0.14 and 0.15 releases marked the end of Python 2.7 and Python 3.5 support, while the 0.17 release split the package into gitlint and gitlint-core. The 0.19 release modernized build and test tooling, adopted Hatch and Ruff, and improved development builds.

Adoption history

Gitlint's adoption sits in the commit-quality niche rather than the broader code-linting market. It is packaged on PyPI and in several system package managers, and it appeals to projects that treat commit history as a reviewable interface for releases, changelogs, and audit trails.

How it is used

Practitioners run gitlint against the commit message being written through a commit-msg hook, against selected commit ranges in CI, or through pre-commit. Configuration usually lives in .gitlint, with built-in rules tuned by project policy and custom Python rules added for organization-specific checks.

Why package nerds care

Gitlint is notable as a classic Python CLI packaged across PyPI, Homebrew, Linux distributions, and MacPorts. For package maintainers, its dependency-management changes and gitlint-core split show the pressure small developer tools face when they need to support both hook-time speed and system-package constraints.

Timeline

  • 2015: The jorisroovers/gitlint repository was created.
  • 2020: The 0.14 and 0.15 release line ended Python 2.7 and Python 3.5 support.
  • 2021: The 0.17 release split gitlint and gitlint-core.
  • 2023: The 0.19 release modernized project tooling and CI.

Related projects

  • pre-commit is a common integration point for running gitlint before commits or in CI.
  • Conventional Commits is an adjacent convention supported through gitlint contrib rules and configuration.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
.gitlint

executables

Installed executables

CommandKindExposureNote
gitlintcliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.19.1
manager updated
local dataok
upstreamnot checked
latest detectednot detected

https://jorisroovers.com/gitlint/

  • infoNo package-manager update timestamp was available.low confidence
  • infoRelease/tag comparison is only available for GitHub repositories.https://jorisroovers.com/gitlint/none confidence

install metadata

Package metadata

Package keybrew:gitlint
Version0.19.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/gitlint
Homepagehttps://jorisroovers.com/gitlint/
Repositoryhttps://github.com/jorisroovers/gitlint
Upstream docshttps://jorisroovers.github.io/gitlint
LicenseMIT
Source archivehttps://files.pythonhosted.org/packages/73/51/b59270264aabcab5b933f3eb9bfb022464ca9205b04feef1bdc1635fd9b4/gitlint_core-0.19.1.tar.gz
Dependenciespython@3.14
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namegitlint
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

gitlint 0.19.1-6

Git commit message linter

https://jorisroovers.com/gitlint/

sudo apt install gitlint
  • Section: utils
  • Architecture: all
  • 5 dependencies
  • normalized package name match
  • Matched by: Gitlint
Debian stable package indexes · deb.debian.org · Debian stable package indexes: gitlint from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

gitlint

nix profile install nixpkgs#gitlint
  • normalized package name match
  • Matched by: Gitlint
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/gi/gitlint/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

gitlint 0.19.1-2

Git commit message linter

https://jorisroovers.com/gitlint/

sudo apt install gitlint
  • Section: universe/utils
  • Architecture: all
  • 6 dependencies
  • normalized package name match
  • Matched by: Gitlint
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: gitlint from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

gitlint 0.19.1-r3

Linting for your git commit messages

https://github.com/jorisroovers/gitlint

sudo apk add gitlint
  • License: MIT
  • Architecture: x86_64
  • Source Package: gitlint
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Gitlint
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gitlint from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

gitlint-pyc 0.19.1-r3

Precompiled Python bytecode for gitlint

https://github.com/jorisroovers/gitlint

sudo apk add gitlint-pyc
  • License: MIT
  • Architecture: x86_64
  • Source Package: gitlint
  • 1 dependencies
  • normalized package name match
  • Matched by: Gitlint
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: gitlint-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

gitlint 0.19.1-2.fc45

Git commit message linting tool

https://jorisroovers.github.io/gitlint

sudo dnf install gitlint
  • License: MIT
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: gitlint
  • 4 dependencies
  • 3 provides
  • normalized package name match
  • Matched by: Gitlint
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: gitlint from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper95%

python313-gitlint 0.18.0-2.7

Git commit message linter checking

https://github.com/jorisroovers/gitlint

sudo zypper install python313-gitlint
  • License: MIT
  • Category: Development/Languages/Python
  • Architecture: noarch
  • Source Package: gitlint
  • 7 dependencies
  • 4 provides
  • normalized package name match
  • Matched by: Gitlint
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: python313-gitlint from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

gitlint

sudo port install gitlint
  • normalized package name match
  • Matched by: Gitlint
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/gitlint/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment