File tree 2 files changed +10
-5
lines changed
2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 79
79
vite
80
80
vitebook
81
81
vitejs
82
+ vitepress
82
83
vue-demi
83
84
vueus
84
85
xleft
Original file line number Diff line number Diff line change @@ -59,16 +59,20 @@ Or add to your `package.json`:
59
59
60
60
``` bash
61
61
# Install hooks from config
62
- bun-git-hooks
62
+ git-hooks
63
+
64
+ # alternatively, trigger the CLI with bunx
65
+ bunx git-hooks
66
+ bunx bun-git-hooks
63
67
64
68
# Use specific config file
65
- bun- git-hooks ./custom-config.ts
69
+ git-hooks ./custom-config.ts
66
70
67
71
# Remove all hooks
68
- bun- git-hooks uninstall
72
+ git-hooks uninstall
69
73
70
74
# Enable verbose logging
71
- bun- git-hooks --verbose
75
+ git-hooks --verbose
72
76
```
73
77
74
78
### Environment Variables
@@ -80,7 +84,7 @@ Skip hook installation when needed:
80
84
SKIP_INSTALL_GIT_HOOKS=1 bun install
81
85
82
86
# Set custom environment for hooks
83
- BUN_GIT_HOOKS_RC=/path/to/env bun- git-hooks
87
+ BUN_GIT_HOOKS_RC=/path/to/env git-hooks
84
88
```
85
89
86
90
### Advanced Configuration
You can’t perform that action at this time.
0 commit comments