Default path for commit-msg hook script.
Section: Client-Side Hooks
Commit-msg hook path
sh
bash
.git/hooks/commit-msgLearn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Client-Side Hooks