Skip to content

Commit 7b483ce

Browse files
authored
Add missing step for husky users
This fixes #63
1 parent 20c1ae1 commit 7b483ce

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,11 @@ If you need multiple verbose commands per git hook, flexible configuration or au
9898
3. Run the CLI script to update the git hooks with the commands from the config:
9999

100100
```sh
101+
# [Optional] These 2 steps can be skipped for non-husky users
102+
git config core.hooksPath .git/hooks/
103+
rm -rf .git/hooks
104+
105+
# Update ./git/hooks
101106
npx simple-git-hooks
102107
```
103108

@@ -174,3 +179,5 @@ validate the value is set:
174179
`git config core.hooksPath`
175180

176181
should output: `.git/hooks/`
182+
183+
Then remove the `.git/hooks/` folder that are generated previously by `husky`.

0 commit comments

Comments
 (0)