关于git中常规提交消息的问题

问题描述 投票:0回答:1

我正在尝试适应此article中描述的常规提交消息

这是文章的摘录:

允许的<type>值:

feat (new feature)
fix (bug fix)
docs (changes to documentation)
style (formatting, missing semi colons, etc; no code change)
refactor (refactoring production code)
test (adding missing tests, refactoring tests; no production code change)
chore (updating grunt tasks etc; no production code change)

但是有时候有些变化很难将其分类为这种类型。我将列出一些w / c的更改,使我对使用哪种类型感到困惑

在这种情况下我应该使用什么类型

  1. 我在现有组件上添加了css样式(react,angular,vue等)
  2. 我在项目中编辑了配置文件,例如package.json.prettierc
  3. 重命名文件
  4. 删除文件
git github gitlab git-commit
1个回答
0
投票
阅读https://www.conventionalcommits.org/的规范和常见问题解答-相当简短-看到之后感觉如何,嘿?
© www.soinside.com 2019 - 2024. All rights reserved.