From adb43d5b99f076fe4d1e4e04eaa374c87d94c804 Mon Sep 17 00:00:00 2001 From: Mikhail Sidorov <7780462+mikhailsidorov@users.noreply.github.com> Date: Sun, 16 Feb 2020 00:19:59 +0300 Subject: [PATCH] Update README.md --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e1cf802..24fc4b2 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,15 @@ # Husky prepare-commit-msg example Example project with prepare-commit-msg hook configured to prepend branch name to commit message automaticaly +## Requirements +* bash + +## Run + npm install git checkout -b issue-123 touch example.txt git add . git commit -m "My new commit" -Commit message will be "issue-123 My new commit" +Commit message will be `issue-123 My new commit`