Guanghu Domestic Migration a2fa7d57d8 chore: import sanitized domestic snapshot for REPO-005
Source snapshot: 23037fa3a2e9b0597162735755e92fc763bf4d94
2026-07-17 15:55:48 +08:00

10 lines
230 B
Markdown
Raw Permalink 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 守卫。