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 d14ec45 commit 4684800Copy full SHA for 4684800
README.md
@@ -15,9 +15,13 @@ Create a blank configuration file at the root of your repo, if needed:
15
touch .pre-commit-config.yaml
16
```
17
18
-Add a new repo entry to your configuration file:
+Add/update `default_install_hook_types` and add a new repo entry in your configuration file:
19
20
```yaml
21
+default_install_hook_types:
22
+ - pre-commit
23
+ - commit-msg
24
+
25
repos:
26
# - repo: ...
27
@@ -32,7 +36,7 @@ repos:
32
36
Install the `pre-commit` script:
33
37
34
38
```console
35
-pre-commit install --hook-type commit-msg
39
+pre-commit install --install-hooks
40
41
42
Make a (normal) commit :x::
0 commit comments