Skip to content

工具描述:Bash(Git — 不跳过 Hooks)

Tool Description: Bash (git — never skip hooks)

v2.1.53

Bash tool git instruction: never skip hooks or bypass signing unless user requests it

除非用户明确要求,否则切勿跳过 hooks(使用 --no-verify)或绕过签名(使用 --no-gpg-sign 或 -c commit.gpgsign=false)。如果 hook 执行失败,应调查并修复根本问题。


英文原文 / English Original

Never skip hooks (--no-verify) or bypass signing (--no-gpg-sign, -c commit.gpgsign=false) unless the user has explicitly asked for it. If a hook fails, investigate and fix the underlying issue.