git 提交文件时,检测失败,利用 --no-verify 跳过监测
git commit --no-verify -m
也可以配置git 提交别名
在 .gitconfig 中添加的 git 配置添加别名(即强制提交的 fcommit)将每次都应用
--no-verify,如下
[alias]
nov_commit = commit --no-verify
提交代码的时候 利用 git nov_commit 即可
git 提交文件时,检测失败
最新推荐文章于 2025-02-09 21:53:34 发布