Skip to content

Commit 09aa031

Browse files
authored
v.help: add help for git-fmt-hook tool (#26394)
Signed-off-by: Laurent Cheylus <foxy@free.fr>
1 parent 11f9990 commit 09aa031

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

‎vlib/v/help/other/git-fmt-hook.txt‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Tool to install/remove pre-commit Git hook
2+
3+
Usage:
4+
v git-fmt-hook [SUBCMD]
5+
6+
The pre-commit Git hook will check/format V files before commit with 'v fmt' command.
7+
8+
SUBCMD:
9+
status : get status for Git pre-commit hook .git/hooks/pre-commit
10+
install: install Git pre-commit hook .git/hooks/pre-commit
11+
remove : remove Git pre-commit hook

0 commit comments

Comments
 (0)