abi / autocommit

MIT License
143 stars 14 forks source link

Support formatting commit messages #3

Open alexec opened 1 year ago

alexec commented 1 year ago

My messages must be Semantic Commits, and they must have a JIRA ID appended to them.

E.g.

feat: Made a change. JIRA-0123

Please allow commits to be formatted as such.

abi commented 1 year ago

I think it should be easy to have it generate semantic commits, but what do you mean by JIRA ID appended to them? do you want it to output just JIRA-xxxx at the end since it won't know your JIRA issue numbers?

alexec commented 1 year ago

I think maybe the branch name could be the ticket name. E.g. git branch -b JIRA-0123 and you just append the branch name.

abi commented 1 year ago

Nice, that could work