add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

28
pages.zh/common/husky.md Normal file
View File

@@ -0,0 +1,28 @@
# husky
> 简化本地 Git 钩子。
> 更多信息:<https://typicode.github.io/husky>。
- 在当前目录安装 Husky
`husky install`
- 将 Husky 安装到特定目录:
`husky install {{path/to/directory}}`
- 设置特定命令作为 Git 的 `pre-push` 钩子:
`husky set {{.husky/pre-push}} "{{command}} {{command_arguments}}"`
- 将特定命令添加到当前的 `pre-commit` 钩子:
`husky add {{.husky/pre-commit}} "{{command}} {{command_arguments}}"`
- 从当前目录卸载 Husky 钩子:
`husky uninstall`
- 显示帮助:
`husky`