News for hackers. Stuff that matters.
Re:How to Write a Git Commit Message (2014) by jph on Friday March 17, 2017 @11:59AM (#13894997)
The commit-msg hook. You can use it to validate your project state or commit message before allowing a commit to go through. The git docs demonstrate using this hook to check that your commit message is conformant to a required pattern.
Re:How to Write a Git Commit Message (2014) by wst_ on Friday March 17, 2017 @06:27PM (#13898531)
It's not easy to enforce local hooks. And maintaining it becomes difficult if you have a lot of small repos.