tommarshall / git-good-commit

Git hook to help you write good commit messages, with no external dependencies.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use without -m option and another question

ethyde opened this issue · comments

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.

Ok, after some work, it works without -m