commitizen / commitizen/cz-cli

Add `pre-commit` hook that will run Commitizen on `git commit`

Open
#801 14 comments 4 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
17.5k
Forks
566
Avg merge
8h 16m
Merged PRs (30d)
1

Description

## Background
[pre-commit](https://pre-commit.com/index.html) is a package manager for git hooks. The project allows hooks to be downloaded locally and run in an isolated environment. This allows for easy adoption of hooks written in a variety of languages and allows for quick adoption by contributors who are unfamiliar with any particular hook.

## Possible Solution
This project can make itself `pre-commit` compatible by adding a `.pre-commit-hooks.yaml` file. You can use this file to make your existing `prepare-commit-msg ` hook and the Commitizen project as a whole more accessible.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.