For un gestor de git hooks para ejecutar comprobaciones antes de los commits, the strongest matches are j178/prek (Prek is a fast, Rust-based Git hook manager that), lint-staged/lint-staged (Lint-staged is a pre-commit hook runner that executes linters) and pre-commit/pre-commit (pre-commit is the definitive framework for managing Git hooks). evilmartians/lefthook and typicode/husky round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Herramientas automatizadas para gestionar y ejecutar scripts personalizados para validar el código antes de hacer commit en Git.
Prek is a Git hook manager written in Rust that runs configured hooks as a single binary without requiring Python or other external runtimes. It executes hooks faster than standard tools through parallel processing and bundled Rust implementations, and includes a built-in hook repository that enables fully offline operation without network access or environment setup. The tool supports both TOML and YAML configuration formats with identical semantics, and can run hooks from existing pre-commit configuration files without modification. Prek distinguishes itself through workspace-aware monorepo
Prek is a fast, Rust-based Git hook manager that supports TOML/YAML configuration, a built-in hook repository, and parallel execution, directly matching the need for a self-contained tool to manage and run custom pre-commit checks as Git hooks.
Lint-staged is a command-line utility designed to automate code quality checks and formatting tasks within a Git repository. It functions as a pre-commit hook runner that executes defined operations exclusively on files currently staged for commit, ensuring that only code meeting project standards is permanently saved. The tool distinguishes itself by providing granular control over the development workflow through file filtering and task orchestration. It uses glob-pattern matching to isolate specific file types and executes sequences of shell commands in a strict order. To maintain reposito
Lint-staged is a pre-commit hook runner that executes linters and formatters exclusively on staged files using a configuration file, fitting the need for custom check management, though it lacks a pre-defined hooks repository and is narrower than a full hooks framework.
Pre-commit is a framework for managing and executing automated tasks during the version control commit process. It functions as a configuration-driven utility that enforces project standards by running linters, formatters, and security scanners on staged files before they are committed to a repository. The system uses a centralized manifest to orchestrate these tasks, ensuring consistent developer tooling across teams. It distinguishes itself by provisioning isolated environments for each tool, which prevents dependency conflicts and ensures that all required versions are present. The framewo
pre-commit is the definitive framework for managing Git hooks with a configuration file, support for many languages and linters, automatic installer, a large repository of shared hooks, and incremental runs on staged files — exactly the tool this search is after.
Lefthook is a Git hook manager and workflow automation tool designed to execute user-defined scripts during version control events. It automates the execution of linters, tests, and formatters to validate changes and maintain code quality before commits or pushes. The project distinguishes itself through a parallel execution model that runs multiple shell commands concurrently to reduce latency. It supports complex configuration management, including the ability to merge global, remote, and local settings and synchronize configurations from external repositories to standardize development env
Lefthook is a dedicated Git hook manager that runs linters, tests, and formatters as pre-commit checks with parallel execution and flexible configuration, which directly matches the need for a tool to manage custom pre-commit hooks.
Husky is a Git hook manager that automates the installation and execution of version control lifecycle events within a project repository. It functions by redirecting standard version control event triggers to a centralized configuration directory, allowing teams to standardize development workflows and enforce code quality without requiring manual setup on every machine. The tool enables custom workflow automation by triggering shell scripts during operations such as committing or pushing code. It distinguishes itself by integrating directly into package manager lifecycles, ensuring that aut
Husky is a Git hooks manager that lets you define and run custom shell scripts during commits and other Git lifecycle events, making it a direct fit for managing pre-commit checks—though its lack of built-in multi-language linter support and a pre-defined hooks repository means you'd need to bring your own tools.
Lefthook is a Git hook manager and workflow automator that uses a configuration-driven approach to manage scripts triggered by version control events. It functions as a parallel task runner, executing multiple scripts simultaneously to reduce the time required for pre-commit or pre-push checks. The project provides a containerized hook runner to ensure consistent dependencies and toolsets across different developer machines. It also supports monorepo orchestration by executing scripts within specific subdirectories and managing complex project structures. The system includes capabilities for
Lefthook is a Git hook manager with configuration-file-driven setup and parallel task execution, making it a genuine pre-commit hook framework for your repository, though it does not include a pre-defined hooks registry.
Overcommit is a Git hook manager and pre-commit validation framework designed to automate the execution of scripts and checks during various Git events. It serves as a workflow automation tool that ensures code quality and project standards are met before changes are committed or pushed to a remote repository. The system distinguishes itself through a comprehensive YAML-based configuration that allows for detailed hook behavior control, including file execution filtering, conditional skipping, and the management of hook dependencies. It provides specialized roles such as a commit message vali
Overcommit is a dedicated Git hook manager that supports configuration files, automatic hook installation, and a set of built-in hooks, making it a solid choice for managing custom pre-commit checks, though it is most full-featured in a Ruby context.
Simple-git-hooks is a utility for managing version control hooks through project configuration files. It automates the installation and execution of custom tasks, ensuring that specific commands run consistently across local development environments whenever version control operations occur. The tool functions by injecting managed scripts into the repository directory structure, replacing existing hooks to maintain uniform development standards. It supports environment-specific configurations, allowing developers to define custom initialization scripts to ensure necessary binaries and system
simple-git-hooks is a lightweight Git hooks manager that fits your need for automating pre-commit checks, but its focus on small projects means it may lack built-in multi-language linter support or a large library of pre-defined hooks.
This project is a dependency manager plugin that automates the management and synchronization of version control hooks. By integrating directly into project dependency configuration files, it ensures that automated tasks and validation rules are consistently applied across local development environments. The tool distinguishes itself by enabling configuration-driven task orchestration, where version control triggers are mapped to custom command sequences. It supports global configuration inheritance, allowing developers to enforce uniform workflows and validation standards across multiple rep
This is a Composer plugin that manages Git hooks within PHP projects, fitting the core category of a Git hooks manager, but it is limited to the PHP/Composer ecosystem and does not offer multi-language linter support or a pre-defined hooks repository.