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
【已解决】Error: Element type is invalid: expected a string (for built-in components) or a class/function
Error: Element type is invalid: expected a string (for built-in components) or a class/function
2545 0
【已解决】Error: Element type is invalid: expected a string (for built-in components) or a class/function
|
人工智能 自然语言处理 语音技术
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“问题解决
117 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
184 0
auto,string.back(),string.pop_back() 不能用?使devc++拥有c++11的功能
auto,string.back(),string.pop_back() 不能用?使devc++拥有c++11的功能
313 0
auto,string.back(),string.pop_back() 不能用?使devc++拥有c++11的功能
Could not resolve element type of Iterable type xxxxx.RequestParam java.util.List<?>. Not declared?
Could not resolve element type of Iterable type xxxxx.RequestParam java.util.List<?>. Not declared?
Could not resolve element type of Iterable type xxxxx.RequestParam java.util.List<?>. Not declared?
解决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问题
|
Linux
解决办法:error: <item> inner element must either be a resource reference or empty.
解决办法:error: <item> inner element must either be a resource reference or empty.
232 0
TypeError: sequence item 0: expected string, int found
TypeError: sequence item 0: expected string, int found