标签: commitlint

使用 commitlint 的第一条提交消息应该是什么?

如果我使用 @commitlint/config-conventional,那么使用 Commmitlint 的第一条提交消息应该是什么?是壮举:第一次提交还是构建:第一次提交还是琐事:第一次提交?

commit git-commit commitlint

5
推荐指数
1
解决办法
1179
查看次数

Commitlint 不起作用。git commit -m commitlint 消息显示未知参数,husky 存在,代码为 1(错误)

git commit -m "feat: 测试 commitlint 库" @commitlint/cli@16.2.3 - 检查你的提交消息

[input] 如果省略 --edit、--env、--from 和 --to 则从 stdin 读取

Options:
  -c, --color          toggle colored output           [boolean] [default: true]
  -g, --config         path to the config file                          [string]
      --print-config   print resolved config          [boolean] [default: false]
  -d, --cwd            directory to execute in
                                         [string] [default: (Working Directory)]
  -e, --edit           read last commit message from the specified file or      
                       fallbacks to ./.git/COMMIT_EDITMSG               [string]
  -E, --env            check message in the file at path given by environment   
                       variable …
Run Code Online (Sandbox Code Playgroud)

husky git-husky commitlint

2
推荐指数
1
解决办法
1万
查看次数

标签 统计

commitlint ×2

commit ×1

git-commit ×1

git-husky ×1

husky ×1