chore(husky): 更新钩子脚本注释和 emoji [no ci]

This commit is contained in:
mini2024
2025-04-06 19:48:43 +08:00
parent bf68819b4a
commit aecfd22055
5 changed files with 31 additions and 27 deletions

View File

@ -17,15 +17,6 @@ pnpm run dev
## Tips
### Husky 遇到 command not found: husky
- https://typicode.github.io/husky/zh/troubleshoot.html#找不到命令-command-not-found
- https://typicode.github.io/husky/zh/how-to.html#node-版本管理器和-gui
```shell
ln -s $(which pnpm) $HOME/.local/bin/pnpm
```
### .gitattributes
如果你先推送了一个.jpg文件然后再推送包含.gitattributes文件的更新Git不会自动重新处理之前的.jpg文件的属性。为使.gitattributes中的新规则生效你可以通过以下步骤重新应用设置