mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(kb/lefthook): add commands for hooks reset
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user