-
Notifications
You must be signed in to change notification settings - Fork 934
Is there a way to automatically prefix commits? #792
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
Comments
Interesting idea! commitlint primarily concerns itself with checking if your commits conform to a specific convention. To my mind your suggestion is based on the idea to deduce parts of the commit message from other information, which is better suited to a I’d like to bring the concept back up when we tackle #584. |
Can you maybe give me some guidance on how to write my own little script like reading the string before the They are mostly named |
On a whim I'd break this down into the following problems:
There is some glue code involved, especially for handling cases where
On how to provide that information to commitizen appropriately you'll have to consult their docs. |
If you have a branch e.g.
feature/123-internationalization
it would be nice if all commit messages would be automatically prefixed withfeat(123-internationalization):
. It would detect the typeand context depending on the branch name
This saves me time and prevents typos.
Is there some way i can do this?
The text was updated successfully, but these errors were encountered: