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

Feature Request: Custom commit message input #590

Closed
sahellebusch opened this issue Dec 28, 2020 · 2 comments · Fixed by #597
Closed

Feature Request: Custom commit message input #590

sahellebusch opened this issue Dec 28, 2020 · 2 comments · Fixed by #597

Comments

@sahellebusch
Copy link

First, I want to say thanks for this great package 🙏

Description

Adding a custom commit message or a custom commit message prefix would be great. The reason being that many folks who may use this package must adhere to some level of compliance that calls for it. For example, all my commit messages must be prefixed with MY-JIRA-PROJ-NAME-####.

Possible implementation

A config flag that would ask for a message prefix or perhaps an entirely custom commit message.

Alternatives

Ignore this because it's entirely too bespoke.

@dopecodez
Copy link
Collaborator

dopecodez commented Dec 30, 2020

Sounds like a interesting and useful change that could be useful across projects.

We are using npm version to update version and this creates the commit as per the npm docs.

The same doc has steps to add if we want a particular commit message in the version commit. We should be able to use this to incorporate a entirely custom commit message.

A good PR would be welcome for this.

@nnmrts
Copy link
Contributor

nnmrts commented Feb 2, 2021

I'm currently working on this here: https://github.com/pumpncode/np/tree/custom-commit-message

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

Successfully merging a pull request may close this issue.

3 participants