-
-
Notifications
You must be signed in to change notification settings - Fork 207
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
Allow custom commit title format #1002
Comments
I am willing to create a MR for that if we agree on the approach @carloscuesta |
Hey! @AmrAbdulrahman thanks for opening an issue, this is actually very similar to what we discussed in #989 but scoped to the commit title instead of the message I think we should definitely allow people to customise the way the "templates" are applied, without having to consider every possible use-case in the cli as it can be quite tricky to fit all the needs I have to say though that the change you're suggesting is a bit against of the "convention" since the idea is to start the commit message prefixed with an emoji. As soon as you add a ticket reference it gets a bit lost |
For anyone having the same problem. I decided to better use commitlint along with gitmoji-commit-workflow for gitmoji integration. It's much more flexible with custom formats and plugins, validations, and rules. |
Sure!! Thanks for opening the issue 🙌🏻 |
Description of the problem
Currently, the commit title is hardcoded as following:
This is not flexible and doesn't allow custom formats to meet different team conventions.
Solution
Allow new config field
commitTitleFormat
that accepts a string with placeholders to be filled out by the cli.Example usage:
.gitmojirc.json
Alternatives
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: