subject may not be empty | type may not be empty

简介: 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
相关文章
解决方案:Missing URI template variable ‘userName‘ for method parameter of type String
解决方案:Missing URI template variable ‘userName‘ for method parameter of type String
解决Missing cookie ‘JssionId‘ for method parameter of type String问题
解决Missing cookie ‘JssionId‘ for method parameter of type String问题
182 0
|
人工智能 自然语言处理 语音技术
Invalid prop: type check failed for prop “index“. Expected String with value “5“问题解决
Invalid prop: type check failed for prop “index“. Expected String with value “5“问题解决
133 0
|
SQL Java 数据库连接
attempted to return null from a method with a primitive return type
attempted to return null from a method with a primitive return type
216 0
解决Invalid prop: type check failed for prop “model“. Expected Object, got Array问题
解决Invalid prop: type check failed for prop “model“. Expected Object, got Array问题
解决Invalid prop: type check failed for prop “model“. Expected Object, got Array问题
TypeError: sequence item 0: expected string, int found
TypeError: sequence item 0: expected string, int found
|
XML Java 数据库连接
Open quote is expected for attribute "{1}" associated with an element type "id".
Open quote is expected for attribute "{1}" associated with an element type "id".
209 0
Open quote is expected for attribute "{1}" associated with an element type "id".

热门文章

最新文章