mirror of
https://gitee.com/jisol/jisol-game/
synced 2025-10-09 00:26:11 +00:00
update
This commit is contained in:
7
luban_examples/githooks-demo/README.md
Normal file
7
luban_examples/githooks-demo/README.md
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
# 设置客户端 git hook
|
||||
|
||||
- 参考pre-commit文件,将文件中的'./auto_validation.sh' 修改为合适的脚本
|
||||
- 参考 auto_validation.sh 准备合适的验证脚本
|
||||
- 将pre-commit复制到仓库根目录的 .git/hooks目录。 命令类似于'cp -rf pre-commit ${仓库根目录}/.git/hooks'
|
||||
- 完成设置
|
Reference in New Issue
Block a user