1. 首页
  2. 数据库
  3. 其它
  4. git hooks:Git钩子示例存储库 源码

git hooks:Git钩子示例存储库 源码

上传者: 2021-05-03 02:21:40上传 ZIP文件 60.12KB 热度 30次
Gradle Git挂钩示例 这个例子的目的是展示git hooks的用法。 由于git钩子由于位于git忽略的.git文件夹中而无法被推送,因此预提交脚本钩子位于hooks文件夹中。 为了使预提交git hook工作正常,请将hooks/pre-commit脚本复制到.git/hooks文件夹中。 要跳过预提交挂钩,请使用: $ git commit -n ...rest of options
下载地址
用户评论