Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mikhailsidorov authored Feb 15, 2020
1 parent 95c5560 commit adb43d5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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`

0 comments on commit adb43d5

Please sign in to comment.