start a picture
Before "Making Your Commit More Valuable" , it took several steps to configure commitizen . For example, first commitizen needs to be initialized and select commitizen adapter, then commitlint needs to be installed, and finally husky may be required to configure git hooks.
Now, it only takes two steps to complete the above work and make everything easier.
1. Install cz-relax in the working directory
npm install cz-relax --save-dev
2. Initialize
npx cz-relax init
If you want to use Chinese prompts:
npx cz-relax init --language zh
After completing the above two steps, you can use it normally git commit
, and commitizen will take effect.
In addition, the default adapter used by cz-relax is cz-git , which supports domestic production.
feedback
- Warehouse address: https://github.com/qiqihaobenben/commitizen-relax
- ISSUES: https://github.com/qiqihaobenben/commitizen-relax/issues
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。