husky - 尝试提交时出现奇怪的错误。[主题为空]
问题描述
我在 CLI 中输入这个
git commit -m "Hello World!"
这是我收到的错误消息
husky > commit-msg (node v14.15.3)
⧗ input: Hello World!
✖ 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
husky > commit-msg hook failed (add --no-verify to bypass)
这是什么意思?
解决方案
推荐阅读
- java - 如何从 Cloud FireStore 获取图像数组列表到 imageslider
- django - 为什么在 django 迁移时出现未定义的错误?
- laravel - Laravel 7 和 Babel
- xamarin.android - Xamarin- 为所有 Android 版本重建?
- amazon-web-services - 如何使用 AWS Batch 提高计算速度
- vue.js - Vue DevTools beta 未出现在 Brave Browser 开发者工具中
- java - 如何解决错误“委托被拒绝
” 当我调用 Gmail API 时,它在 JAVA 中返回 403 错误代码 - node.js - stomp协议中心跳有什么用?
- java - 获取活动 UI 的“会话已过期”消息
- git - 重新定位 git 的 COMMIT_EDITMSG