git提交代码时报错,提不了

问题

今天在换了新电脑,提交代码时报错
✖ eslint --fix found some errors. Please fix them and try committing again.
✖ 21 problems (20 errors, 1 warning)
husky > pre-commit hook failed (add --no-verify to bypass)
在这里插入图片描述

解决

通过 --no-verify 解决:

git commit --no-verify -m '提交的注释'

相关推荐

  1. jekins 是如何知道git 提交代码

    2024-04-08 10:28:02       22 阅读
  2. git提交代码冲突

    2024-04-08 10:28:02       50 阅读
  3. git提交代码github

    2024-04-08 10:28:02       39 阅读
  4. Git代码提交规范

    2024-04-08 10:28:02       35 阅读
  5. 使用git提交代码时候出现403怎么解决

    2024-04-08 10:28:02       22 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-04-08 10:28:02       98 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-04-08 10:28:02       106 阅读
  3. 在Django里面运行非项目文件

    2024-04-08 10:28:02       87 阅读
  4. Python语言-面向对象

    2024-04-08 10:28:02       96 阅读

热门阅读

  1. 设计模式详解(十三)——享元模式

    2024-04-08 10:28:02       35 阅读
  2. vue3 keep-alive include失效问题

    2024-04-08 10:28:02       37 阅读
  3. [Algorithm][双指针][复写零]详细解读 + 代码实现

    2024-04-08 10:28:02       43 阅读
  4. 比赛记录:Codeforces Global Round 25 A~E (猜猜题场)

    2024-04-08 10:28:02       29 阅读
  5. Solr面试题

    2024-04-08 10:28:02       33 阅读
  6. 缓存更新策略

    2024-04-08 10:28:02       34 阅读
  7. P1308 统计单词数

    2024-04-08 10:28:02       36 阅读