From 42ddca2c0e6d7fa4855b95ff2e7722331e5048a0 Mon Sep 17 00:00:00 2001 From: typicode Date: Thu, 1 Jul 2021 07:35:37 +0200 Subject: [PATCH] docs: typo --- .github/README.md | 5 +++-- README.md | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/README.md b/.github/README.md index 7ba0d5b58..29bee5fd1 100644 --- a/.github/README.md +++ b/.github/README.md @@ -25,13 +25,14 @@ Add a hook: ```sh npx husky add .husky/pre-commit "npm test" +git add .husky/pre-commit ``` Make a commit: ```sh -$ git commit -m "Keep calm and commit" -# `npm test` will run +git commit -m "Keep calm and commit" +# `npm test` will run every time you commit ``` _For more use cases (project in sub-directory, custom directory, CI support, ...), see documentation._ diff --git a/README.md b/README.md index e6bfd767a..fd8c11078 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,13 @@ Add a hook: ```sh npx husky add .husky/pre-commit "npm test" +git add .husky/pre-commit ``` Make a commit: ```sh -$ git commit -m "Keep calm and commit" +git commit -m "Keep calm and commit" # `npm test` will run ```