- make sure the folder(s) ~/.git_template/hooks exists
- drop this file in there and make sure it’s named prepare-commit-msg
- make ~/.git_template/hooks/prepare-commit-msg executable. (chmod +x)
- make sure your ~/.gitconfig contains
[init]
templatedir = ~/.git_template
Uh oh!
There was an error while loading. Please reload this page.