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
具体原因不详,有大佬知道可以留言哦~