1.0.1 • Published 8 months ago

hxt-shen-cli v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

zeus-cli

node 16

sudo npm install -g

smt -v

查看文档

# 本地
smt doc

# 远程访问
# smtsysadmin / smt888888
https://smt-open.yun.city.pingan.com/front-end/auth/zeus-cli/

在开发中免不了和他人一起团队协作提交代码,为了防止大家每次提交代码时,git commit -m ' '的提交信息不明所以,所以Angular 团队提出了 Git 约定式提交。这只是一种约定规范,并不是强制要求,具体可参考这篇文章 https://zj-git-guide.readthedocs.io/zh_CN/latest/message/Angular%E6%8F%90%E4%BA%A4%E4%BF%A1%E6%81%AF%E8%A7%84%E8%8C%83/

git commit message 的约定格式

<type>(<scope>): <subject>

git commit -m 'type(scope): subject'

####type的值:

feat: 新增功能/完成任务 (feature)
fix: 修复bug
test: 单元测试
docs: 文档 (documentation)
style: 样式
refactor: 代码重构
pref: 优化相关,比如提升性能/体验
chore: 辅助/其它
revert: 恢复变更/回滚到上一个版本
little: 微不足道的变更
try: 尝试

####scope部分 : 紧跟type用小括号包住,值可以按照模块、包或者某个文件进行标注 ####subject部分: 随便写点本次修改的简介,可以中文,推荐英文。示例如上 例子:

git commit -m 'feat(api): add response interceptor'

在开发中免不了和他人一起团队协作提交代码,为了防止大家每次提交代码时,git commit -m ' '的提交信息不明所以,所以Angular 团队提出了 Git 约定式提交。这只是一种约定规范,并不是强制要求,具体可参考这篇文章 https://zj-git-guide.readthedocs.io/zh_CN/latest/message/Angular%E6%8F%90%E4%BA%A4%E4%BF%A1%E6%81%AF%E8%A7%84%E8%8C%83/

git commit message de 约定格式

<type>(<scope>): <subject>

git commit -m 'type(scope): subject'

####type的值:

feat: 新增功能/完成任务 (feature)
fix: 修复bug
test: 单元测试
docs: 文档 (documentation)
style: 样式
refactor: 代码重构
pref: 优化相关,比如提升性能/体验
chore: 辅助/其它
revert: 恢复变更/回滚到上一个版本
little: 微不足道的变更
try: 尝试

####scope部分 : 紧跟type用小括号包住,值可以按照模块、包或者某个文件进行标注 ####subject部分: 随便写点本次修改的简介,可以中文,推荐英文。示例如上 例子:

git commit -m 'feat(api): add response interceptor'