Fanfou Wiki

我等采石之人,当心怀建造大教堂之愿景。

用户工具

站点工具


git:commit

这是本文档旧的修订版!


Git commit message type list

  • feat: A new feature
    特性:一项新的功能
  • fix: A bug fix
    修正:一个错误修复
  • docs: Documentation only changes
    文档:仅文档修改
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
    样式:不会影响代码含义的更改(空格、格式、缺少分号、等)
  • refactor: A code change that neither fixes a bug nor adds a feature
    重构:既不修正错误也不添加功能的代码更改
  • perf: A code change that improves performance
    性能:代码更改可提高性能
  • test: Adding missing tests or correcting existing tests
    测试:添加缺失的测试或更正现有的测试
  • build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
    构建:影响构建系统或外部依赖项的更改(示例范围:gulp,brocoli,npm)
  • ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
    CI:对我买的 CI 配置文件和脚本的更改(示例范围:Travis,Circle,BrowserStack,SauceLabs)
  • chore: Other changes that don't modify src or test files
    杂务:其他不会修改 src 或测试文件的更改
  • revert: Reverts a previous commit
    还原:还原先前的提交
git/commit.1608600510.txt.gz · 最后更改: 2020/12/22 09:28 由 admin