di-sukharev / opencommit

Generate conventional git commit messages with AI in 1 second 🤯🔫
https://www.npmjs.com/package/opencommit
MIT License
5.92k stars 311 forks source link

[Feature]: Customizable Subject templates #205

Open seho-dev opened 1 year ago

seho-dev commented 1 year ago

Description

Maybe I can add a subject template to opencommit, so that the user can add any message at the beginning or end of the subject

In a git commit:

feat: add test

It is common to treat add test as a subject

So, I want to provide a mechanism to allow the user to define the content of the subject, let's say by adding the issue association to the end of it

feat: add test #1

I will explore a better way to implement this feature

Suggested Solution

none

Alternatives

No response

Additional Context

No response

seho-dev commented 1 year ago
oco --no-verify '$msg project#27'

It might be nice to provide a string template similar to the one used in ES6 to implement this functionality?

@di-sukharev

github-actions[bot] commented 1 year ago

Stale issue message