Skip to content

Commit 8675e5d

Browse files
CLI-9 provide guidance on how to skip hooks
1 parent 041e00f commit 8675e5d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cli/commands/integrate/git/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ export function showVerificationGuide(hook: GitHookType): void {
176176
: ' 3. Try to push: git push',
177177
' 4. The hook should block the operation and report the secret.',
178178
` 5. Delete the file: ${platform() === 'win32' ? 'del' : 'rm'} ${VERIFY_FILE_NAME}`,
179+
` To skip hooks when needed, run ${hook === 'pre-commit' ? 'git commit' : 'git push'} with the --no-verify flag.`,
179180
].join('\n'),
180181
'Verify the hook works',
181182
);

0 commit comments

Comments
 (0)