git commitメッセージに自動でブランチ名をつける

2024.02.19
  • Git

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

  • ご案内
  • 作ったもの
  • プライバシーポリシー
© 2026 Simmon