Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Add commit-msg Git hook to enforce good commit messages #107

Open
westonruter opened this issue Sep 8, 2015 · 3 comments
Open

Add commit-msg Git hook to enforce good commit messages #107

westonruter opened this issue Sep 8, 2015 · 3 comments

Comments

@westonruter
Copy link
Contributor

https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks#Client-Side-Hooks

@yani-
Copy link

yani- commented Sep 9, 2015

👍 I am taking over this ticket

@yani- yani- self-assigned this Sep 9, 2015
@westonruter
Copy link
Contributor Author

This would go nicely with a prepare-commit-msg hook which tried to automatically formulate a commit message based on the feature branch, e.g. extract a JIRA ticket number or GitHub issue.

@commitcheck
Copy link

@westonruter @yani- if you want to do this in Github, you can use CommitCheck. It's an app I built for things like, checking commit messages contain a JIRA number. It's free to use for OSS projects -> https://github.com/apps/commitcheck-app. I'm happy to answer any questions :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants