We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48c97b5 commit 6ec8169Copy full SHA for 6ec8169
docs/README.md
@@ -74,6 +74,20 @@ or the shortcut
74
cz c
75
```
76
77
+### Integrating with Pre-commit
78
+Commitizen can lint your commit message for you with `cz check`.
79
+You can integrate this in your [pre-commit](https://pre-commit.com/) config with:
80
+```yaml
81
+---
82
+repos:
83
+ - repo: https://github.com/commitizen-tools/commitizen
84
+ rev: v1.17.0
85
+ hooks:
86
+ - id: commitizen
87
+ stages: [commit-msg]
88
+```
89
+Read more about the `check` command [here](https://commitizen-tools.github.io/commitizen/check/).
90
+
91
### Help
92
93
```bash
0 commit comments