feat: 添加 husky 钩子,支持 commit-msg 和 post-merge 自动提示,更新 pre-commit 钩子中文提示
Some checks failed
/ surge (push) Successful in 2m30s
/ build-and-deploy-to-vercel (push) Successful in 2m43s
/ lint-build-and-check (push) Successful in 4m53s
/ playwright (push) Failing after 19m31s

This commit is contained in:
严浩
2025-04-01 19:18:31 +08:00
parent da515f4dfc
commit 15980dd551
3 changed files with 11 additions and 3 deletions

4
.husky/post-merge Normal file
View File

@ -0,0 +1,4 @@
# git pull 后自动安装依赖
echo "📦 正在安装依赖..."
pnpm install
echo "✅ 依赖安装成功!"