0


subject may not be empty | type may not be empty

✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint

原因是使用了规范commit信息的工具,你的提交信息不符合规范,所以被拒绝了

commit规范工具

  • commitlint
  • husky

解决方式一:修改提交信息, 使其符合规范

git commit -m"feat: 新功能"

解决方式二:直接卸载工具

npm uninstall husky
标签: 前端 git

本文转载自: https://blog.csdn.net/qq_50969362/article/details/128983139
版权归原作者 梦中千秋 所有, 如有侵权,请联系我们删除。

“subject may not be empty | type may not be empty”的评论:

还没有评论