Skip to content

Need doc for pre-commit integration #196

@guihao-liang

Description

@guihao-liang

Type

  • Content missing

URL

My understanding is that this tool can only work in commit-msg and prepare-commit-msg stage based on this doc.

But I haven't found any doc showing me how to use this nice tool with pre-commit tool.

Description

I think it's better to provide a doc to explicitly mention this in README.md.

 27 - repo: https://github.com/commitizen-tools/commitizen
 28     rev: v1.22.2
 29     hooks:
 30       - id: commitizen
 31         stages: ["commit-msg"]

When used, it should use pre-commit install -t commit-msg.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions