I try to use this hook but I have a couple of questions :
Best Practice recommande to not use -m option for commit, but how to check if message conform to the rule when i use $ git commit ?
I use a custom editor who is defined in .gitconfig but when i want to edit commit message I have the following error : ./git/githooks/commit-msg: ligne 251: .git/COMMIT_EDITMSG: Permission denied
Hi,
I try to use this hook but I have a couple of questions :
Best Practice recommande to not use -m option for commit, but how to check if message conform to the rule when i use
$ git commit
?I use a custom editor who is defined in
.gitconfig
but when i want to edit commit message I have the following error :./git/githooks/commit-msg: ligne 251: .git/COMMIT_EDITMSG: Permission denied
Can you help me ? Thx.