cang-ying/.githooks/README.md

10 lines
230 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 苍耳仓库 Git 密钥保护
首次克隆后执行:
```bash
./scripts/install-git-hooks.sh
```
它会启用提交前与推送前扫描。该保护不替代服务端扫描Gitea 端仍必须恢复 hooks/Actions 守卫。