Skip to content

fiissh/git-commit-message-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

插件名称:git commit message creator

安装方式: IDEAAndroid Studio 插件管理页搜索 git commit message creator 安装。

插件地址:

使用 IDEAAndroid Studio 图形化 GIT 工具提交代码时,可以使用该插件生成标准的规范化提交信息。

插件根据 commitizen/conventional-commit-types 提供了默认的 commit type 的实现。如果您认为默认的 commit type 不能满足您的需求,你可以通过在项目根目录创建 git_commit_message_creator.json 文件,并修改其中的内容即可:

{
  "plugin_name": "git commit message creator", //the display name of the plugin window
  "commit_type": [
    {
      "type": "FEATURE",
      "title": "Features",
      "description": "A new feature"
    },
    {
      "type": "FIX",
      "title": "Bug Fixes",
      "description": "A bug fix"
    },
    {
      "type": "IMPROVEMENT",
      "title": "Improvements",
      "description": "An improvement to a current feature"
    },
    {
      "type": "DOCS",
      "title": "Documentation",
      "description": "Documentation only changes"
    },
    {
      "type": "STYLE",
      "title": "Styles",
      "description": "Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)"
    },
    {
      "type": "REFACTOR",
      "title": "Code Refactoring",
      "description": "A code change that neither fixes a bug nor adds a feature"
    },
    {
      "type": "PERFORMANCE",
      "title": "Performance Improvements",
      "description": "A code change that improves performance"
    },
    {
      "type": "TEST",
      "title": "Tests",
      "description": "Adding missing tests or correcting existing tests"
    },
    {
      "type": "BUILD",
      "title": "Builds",
      "description": "Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)"
    },
    {
      "type": "CI",
      "title": "Continuous Integrations",
      "description": "Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)"
    },
    {
      "type": "CHORE",
      "title": "Chores",
      "description": "Other changes that don't modify src or test files"
    },
    {
      "type": "REVERT",
      "title": "Reverts",
      "description": "Reverts a previous commit"
    }
  ]
}

特别感谢

关于作者

肥肥鱼(fiissh.tech),Android SDK 开发者,个人博客 肥言肥语。如果您有关于项目的任何问题,请发邮件给我:zhaoyongchun2010@gmail.com

About

git commit message creator plugin

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages