使用validate-commit-msg 检查队友的commit message规范 #安装 $ npm install validate-commit-msg husky -D #添加package.json文件配置 "husky": { "hooks": { "commit-msg": "validate-commit-msg" } } #自定义校验格式(可选) #添加一个.vcmrc文件,配置对象如下: { "types": ["feat", "fix", "do...
% git commit --amend --message='delte file to update commit msg' 修改历史提交的 commit 信息 操作步骤: git rebase -i HEAD~3 找到需要修改的 commit 记录,把 pick 修改为 edit 或 e,:wq 保存退出 修改commit 的具体信息git commit --amend,修改commit信息,保存并继续下一条git rebase --continue,直...
Edit commit messages in a convenient way. Contribute to sirius16/vscode-commit-message-editor development by creating an account on GitHub.
请确保脚本中的命令(如npx --no-install commitlint --edit "$1")是有效的,并且相关依赖(如commitlint)已正确安装。 确认commit信息是否符合husky设定的规则: 如果.husky/commit-msg脚本中包含了对提交信息的校验(如使用commitlint),你需要确保你的提交信息符合这些规则。 例如,commitlint可能需要提交信息遵循某种格式...
A JSON schema is created for the portable configuration file format. This means, you can use theVSCode toolsetto edit the configuration file manually. Just create a new JSON file with this content and start to edit: {"$schema":"https://bendera.github.io/vscode-commit-message-editor/schemas...
新增hook 勾子命令,项目中使用 commit-msg 勾子来校验 commit message 是否符合规范:npx husky add .husky/commit-msg "npx --no-install commitlint --edit $1" 运行上面命令后,将自动在 .husky 文件夹下面新增对应的勾子文件,如下 如果运行完新增勾子函数如果出现如下消息 ...
IVsCodeShareHandler IVsCombinedBrowseComponentSet IVsCommandArgInfo IVsCommandWindow IVsCommandWindow2 IVsCommandWindowsCollection IVsCommentTaskInfo IVsCommentTaskToken IVsCommonMessagePump IVsCommonMessagePumpClientEvents IVsCommonMessagePumpFactory IVsComponentEnumeratorFactory IVsComponentEnumeratorFactory2 IVsComp...
chore: add node 13/14 to circle-ci jobs (#1937) 5年前 .devcontainer build: run prettier on everything (#962) 5年前 .github build: run prettier on everything (#962) 5年前 .vscode build: run prettier on everything (#962) 5年前 ...
IVsQueryEditQuerySave2 Interface IVsQueryEditQuerySave3 Interface IVsRefactorNotify Interface IVsRegisterDataSourceFactories Interface IVsRegisterEditors Interface IVsRegisterNewDialogFilters Interface IVsRegisterPriorityCommandTarget Interface IVsRegisterProjectDebugTargetProvider Interface IVsRegisterProjectTypes Interface...
IVsCodeShareHandler Interface IVsCombinedBrowseComponentSet Interface IVsCommandArgInfo Interface IVsCommandWindow Interface IVsCommandWindow2 Interface IVsCommandWindowsCollection Interface IVsCommentTaskInfo Interface IVsCommentTaskToken Interface IVsCommonMessagePump Interface IVsCommonMessagePumpClientEvents Interface...