1.0.51 • Published 5 years ago

git-commit-translator v1.0.51

Weekly downloads
-
License
ISC
Repository
-
Last release
5 years ago

#Auto Translate commit message

在git提交时调用谷歌API把提交信息转换成英文, 配置项: project-id 谷歌云的项目ID(使用前先要在环境变量中设置account和项目对应的tockenjson,具体参考google cloud link

eng-first 是否把英文显示在前面

//.huskyrc 配置 husky(https://www.npmjs.com/package/husky)的配置文件
{
  "hooks": {
    "commit-msg": "git-commit-translate --project-id=[your google project id]  --eng-first=[true|false]"
  }
}

提交记录示例:git-commit-translator

1.0.51

5 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago