commitizen / commitizen/cz-cli
Add `pre-commit` hook that will run Commitizen on `git commit`
Open
- 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
Assessment
This issue has not been assessed yet.