报错信息:
✖ 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 exited with code 1 (error)
接着你输入git push后,就会显示Everything up-to-date
解决办法:
记住:”fix:“后面一定要加上空格,不然也会报错