pre-commit
« Back to VersTracker
Description:
Framework for managing multi-language pre-commit hooks
Type: Formula  |  Tracked Since: Dec 16, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: git hooks linting code-quality automation
Install: brew install pre-commit
About:
Pre-commit is a framework for managing and maintaining multi-language code quality hooks. It allows you to configure checks that run automatically before code is committed, helping to catch issues early. This tool simplifies enforcing code standards by installing git hooks and running scripts against your codebase.
Key Features:
  • Supports hooks written in any language
  • Automatic installation and management of git hooks
  • Centralized configuration via a single YAML file
  • Speeds up git hooks by caching and parallelizing execution
Use Cases:
  • Enforcing code style and formatting across a team
  • Running static analysis and linting before commits
  • Preventing secrets or large files from being committed
Alternatives:
  • Husky – Husky is primarily focused on JavaScript/Node.js environments, whereas Pre-commit is language-agnostic.
  • Git Hooks – Native git hooks are powerful but lack a standardized, shareable configuration format across different machines.
Version History
Detected Version Rev Change Commit
Jan 14, 2026 8:18am 1 REVISION_ONLY 9ef32875
Dec 16, 2025 11:18pm 0 VERSION_BUMP d4130103
Nov 8, 2025 11:17pm 0 VERSION_BUMP 9049b654
Dec 30, 2024 4:32pm 0 VERSION_BUMP 3f69e063
Dec 30, 2024 9:05am 0 VERSION_BUMP 7307ef9f
Nov 8, 2024 11:20pm 0 VERSION_BUMP d32bc8ac
Oct 10, 2024 2:13am 0 VERSION_BUMP 2d857936
Oct 9, 2024 6:32pm 0 VERSION_BUMP 72338ea4
Oct 8, 2024 8:42pm 0 VERSION_BUMP f4bccf47
Oct 8, 2024 6:52pm 0 VERSION_BUMP 6e226ec2
Sep 20, 2024 7:27pm 0 VERSION_BUMP f710de2f
Sep 20, 2024 10:58am 0 VERSION_BUMP 0ed993ec