项目作者: gaoac

项目描述 :
A commitizen adapter following the conventional-changelog format with emoji.
高级语言: JavaScript
项目地址: git://github.com/gaoac/cz-conventional-emoji.git
创建时间: 2019-10-03T01:57:31Z
项目社区:https://github.com/gaoac/cz-conventional-emoji

开源协议:MIT License

下载


cz-conventional-emoji

A commitizen adapter following the conventional-changelog format with emoji.

Commitizen friendly

NPM

English | 简体中文

  1. Select the type of change that you're committing: (Use arrow keys)
  2. ❯ ✨ Feat: Introducing new features.
  3. 🐛 Bug: Fixing a bug.
  4. 📝 Docs: Writing docs.
  5. 🎨 Style: Improving structure / format of the code.
  6. 💄 UI: Updating the UI and style files.
  7. 🚑 Quickfix: Critical hotfix.
  8. ⚡️ Pref: Improving performance.
  9. (Move up and down to reveal more choices)

Installation

We think you’ve already installed the Commitizen.

Globally

  1. yarn global add cz-conventional-emoji
  2. # OR
  3. # npm install --global cz-conventional-emoji
  4. # set as default adapter globally
  5. echo '{ "path": "cz-conventional-emoji" }' > ~/.czrc

Locally

  1. yarn add cz-conventional-emoji
  2. # OR
  3. # npm install --save-dev cz-conventional-emoji
  4. # set as default adapter for your projects
  5. "config": {
  6. "commitizen": {
  7. "path": "./node_modules/cz-conventional-emoji"
  8. },
  9. },

Usage

Simply use git cz instead of git commit when committing. See the doc of Commitizen for more info.

Author

gaoancun gaoac.snow@outlook.com

License

MIT