Browse Source

husky: add Korean translation (#11176)

HoJeong Im 1 year ago
parent
commit
2680424f7b
1 changed files with 28 additions and 0 deletions
  1. 28 0
      pages.ko/common/husky.md

+ 28 - 0
pages.ko/common/husky.md

@@ -0,0 +1,28 @@
+# husky
+
+> 네이티브 Git 훅을 쉽게 만들었습니다.
+> 더 많은 정보: <https://typicode.github.io/husky>.
+
+- 현재 폴더에 Husky를 설치:
+
+`husky install`
+
+- Husky를 특정 폴더에 설치:
+
+`husky install {{경로/대상/폴더}}`
+
+- 특정 명령을 Git의 `pre-push` 훅으로 설정:
+
+`husky set {{.husky/pre-push}} "{{명령어}} {{명령어_인자}}"`
+
+- 현재 `pre-commit` 훅에 특정 명령을 추가:
+
+`husky add {{.husky/pre-commit}} "{{명령어}} {{명령어_인자}}"`
+
+- 현재 폴더에서 Husky 훅 제거:
+
+`husky uninstall`
+
+- 도움말 표시:
+
+`husky`