git commitメッセージに自動でブランチ名をつける
loading...
huskyを使ってる場合は.git/configのhooksPath = .huskyになってるからprepare-commit-msgを.huskyフォルダに移動する
参考
- Add Git branch name to each commit | by Irtiza | Medium
- Please document how to use Husky with an existing prepare-commit-msg hook · Issue #1141 · typicode/husky
s