DEV Community

Discussion on: My commit message workflow

Collapse
 
nagarjun profile image
Nagarjun Palavalli

How would you enforce this practice within a team of developers all committing to the same project? Does Git allow you to globally enforce commit templates for a repository?

Collapse
 
shreyasminocha profile image
Shreyas Minocha

Good question. As far as I know, no, it doesn't. If there's a neat way to do this, I'd like to know.

Collapse
 
levente profile image
Levente

Just FYI, we work on a product (Commit Policy Plugin for Jira) that does just that. It's a Jira app, so it's hard wired to work in Jira, but allows you to enforce all kind of rules (to many VCS, not just Git).