Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check if a commit message follows conventional commit spec #23

Closed
eburghar opened this issue Oct 16, 2021 · 2 comments
Closed

check if a commit message follows conventional commit spec #23

eburghar opened this issue Oct 16, 2021 · 2 comments
Assignees
Labels
feature/request New feature or request

Comments

@eburghar
Copy link

Is your feature request related to a problem? Please describe.
no

Describe the solution you'd like
use git cliff in git hook to check that a given commit message or a message given as parameter match conventional syntax

Describe alternatives you've considered
using a script, but git cliff has everything internally to do the job and can follow the project specific syntax from its toml config file

Additional context

@eburghar eburghar added the feature/request New feature or request label Oct 16, 2021
@orhun
Copy link
Owner

orhun commented Oct 18, 2021

Hello!

This is not really in the scope of this project. git-cliff only aims to create a changelog for the given git history. It optionally checks the conventional commits.

I strongly suggest you to check out cocogitto which can do the exact thing you mentioned.

@orhun orhun closed this as completed Oct 18, 2021
@eburghar
Copy link
Author

Many thanks for link. Cocogitto was a better fit for what I wanted to do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature/request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants