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.
|
| 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 |
| Feb 14, 2024 9:40pm |
|
0 |
VERSION_BUMP |
435c2347 |
| Feb 10, 2024 9:17pm |
|
0 |
VERSION_BUMP |
3954dfd4 |
| Dec 9, 2023 9:42pm |
|
0 |
VERSION_BUMP |
850048d0 |
| Oct 27, 2023 11:22pm |
|
1 |
VERSION_BUMP |
71a2e01d |
| Oct 13, 2023 11:09pm |
|
0 |
VERSION_BUMP |
18e0a55f |
| Oct 13, 2023 4:31pm |
|
0 |
VERSION_BUMP |
3ee67ee5 |
| Sep 3, 2023 12:18am |
|
0 |
VERSION_BUMP |
3ff0a588 |
| Sep 2, 2023 5:40pm |
|
0 |
VERSION_BUMP |
b63000d9 |
| May 17, 2023 7:54pm |
|
0 |
VERSION_BUMP |
3b89668d |
| May 2, 2023 9:10am |
|
0 |
VERSION_BUMP |
c3bacd71 |
| May 2, 2023 12:19am |
|
0 |
VERSION_BUMP |
89960d0e |
| Apr 4, 2023 12:13am |
|
0 |
VERSION_BUMP |
5100ead4 |
| Mar 25, 2023 8:04pm |
|
0 |
VERSION_BUMP |
11668b4f |
| Mar 17, 2023 11:04pm |
|
0 |
VERSION_BUMP |
c44ce262 |
| Mar 17, 2023 11:04pm |
|
0 |
VERSION_BUMP |
42502bc0 |
|