Git提交错误信息:
→ No staged files match any configured task.
⧗ input: fix:icon
✖ 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
可以在.gitignore文件配置忽略该文件
/.husky/commit-msg
/.husky/pre-commit
具体原因不详,有大佬知道可以留言哦~
文章讲述了在使用Git提交时遇到的错误,涉及commitlint规则问题(如subject和type不能为空),并提到了可能的解决方案,如在.gitignore中忽略相关文件。作者寻求关于具体原因的解答。

2639

被折叠的 条评论
为什么被折叠?



