美文网首页Git
跳过检查 --no-verify

跳过检查 --no-verify

作者: 东方晓 | 来源:发表于2022-08-30 17:27 被阅读0次

    2022-08-30 周二

    commit报错

    如果你在git commit的提交内容不符合规则、ghook 会拒绝
    此时是无法push的

    git commit -m "xxx" --no-verify
    

    跑这个命令可以跳过检查

    相关文章

      网友评论

        本文标题:跳过检查 --no-verify

        本文链接:https://www.haomeiwen.com/subject/saalnrtx.html