After removing the template option, my pre-commit hook still failed.
fatal: could not read '".commit-template"': No such file or directory
I had to manually edit my .git/config to fix this.
I can't think of a nice way to handle this, and honestly the more I think about it, I am not sure if having this option in your project really makes that much sense to begin with (but of course, thats your prerogative)
As an experiment, I tried the
template
option.It did not work (apparently due to https://github.com/observing/pre-commit/pull/80)
After removing the
template
option, my pre-commit hook still failed.I had to manually edit my
.git/config
to fix this.I can't think of a nice way to handle this, and honestly the more I think about it, I am not sure if having this option in your project really makes that much sense to begin with (but of course, thats your prerogative)
Thanks for your great work!