此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。原始仓库: https://github.com/noidontdig/gitdown 该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。 克隆/下载 gitdown / commit-msg commit-msg 6.14 KB 一键复制 编辑 原始数据 按行查看 历史 Alexandra Qin 提交于 12...
生成change log,还又一些高级用法比如ghooks 这里就不细说了.详细请查看参考链接和validate-commit-msg 现在项目中可能多出来dir:node_nodules, file:package.json, package-lock.json这些目录和文件,这是node安装模块产生的,如果不是node项目都可以忽略掉,熟悉node的同学肯定都知道哪些是有用的了. 参考链接: 阮一峰...
https://www.conventionalcommits.org/en/v1.0.0/ 然后我们在 commit-msg 钩子上加上: npx --no -- commitlint --edit $1 npx --no:表示只使用本地项目 node_modules 下的脚本,不允许找不到的时候尝试去下载。下载耗费时间,所以要取消,你要确保已经把命令行工具下载好。 commitment --edit <文件名>:执...
Git 提交(commit)没有自动生成Change-Id导致无法push 1). 检查仓储.git/hook下面是否有commit-msg文件,如果没有可以到下面的地址下载,或者把其他同事的commit-msg文件拷贝到你的.git/hook重新commit即可。 http://review.cyanogenmod.org/tools/hooks/commit-msg https://gerrit-review.googlesource.com/tools/hooks/...
husky > commit-msg (node v14.17.1) ⧗ input: feat:新增邀约超时文案 ✖ subject may not be empty [subject... git commit 的时候报错,原来是提交的message是有规范的,所以要按照要求提交。 Commit Message 第一目标是尽量让人能比较容易的的了解该 commit 的具体内容。
在.git/hooks目录下有很多钩子,我们可以根据需要自定义不同的内容,这里我们只需要修改commit-msg即可。 首先将commit-msg.sample 改为 commit-msg,也就是去掉后缀。 将里面的内容修改为下面内容 #!/bin/bash MSG=`awk '{printf("%s",$0)}' $1`
提交 .circleci 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) ...
然后我们在 commit-msg 钩子上加上: 复制 npx --no -- commitlint --edit $1 1. npx --no :表示只使用本地项目 node_modules 下的脚本,不允许找不到的时候尝试去下载。下载耗费时间,所以要取消,你要确保已经把命令行工具下载好。 commitment --edit <文件名>:执行 commitment 命令行工具,并使用--ed...
然后我们在 commit-msg 钩子上加上: 代码语言:javascript 复制 npx--no--commitlint--edit $1 npx --no:表示只使用本地项目 node_modules 下的脚本,不允许找不到的时候尝试去下载。下载耗费时间,所以要取消,你要确保已经把命令行工具下载好。 commitment --edit <文件名>:执行 commitment 命令行工具,并使用-...
<https://gerrit-review.googlesource.com/tools/hooks/commit-msg> 如果有自己的gerrit-review服务器,可以直接在网址后面加上 `/tools/hooks/commit-msg` 即可下载。 添加后,每次执行git commit 都会自动在log里面生成 Change-Id,用于gerrit code review。