chore(kb/lefthook): add commands for hooks reset

This commit is contained in:
Michele Cereda
2024-04-26 23:52:56 +02:00
parent dd26028616
commit 27b5480f62

View File

@@ -44,6 +44,9 @@ lefthook run 'pre-commit' -n --commands 'hadolint' --files 'lefthook.yml'
# Remove configured hooks from the current git repository.
lefthook uninstall
lefthook uninstall -cv
# Reset lefthook-managed git hooks and start from the beginning.
lefthook uninstall && lefthook install
```
Uses the [glob library] for glob patterns.