tnt-commitizen

2.0.3 • Public • Published

tnt-commitizen

git提交模版,全局安装使用,可以避免在项目中繁琐配置。

环境依赖

nodejs (需要加入Path环境变量)

安装

npm i tnt-commitizen -g

# 安装 commitlint (可选)
npm i @commitlint/cli -g

使用

安装 git hooks (commit-msg)

进入项目,执行

gcz-init

如果不希望强制使用 git hooks ,此步骤可以省略。

gcz

提交时候用gcz提到git commit命令

git add .
gcz

gcz

Readme

Keywords

none

Package Sidebar

Install

npm i tnt-commitizen

Weekly Downloads

4

Version

2.0.3

License

ISC

Unpacked Size

5.92 kB

Total Files

11

Last publish

Collaborators

  • mervynyang