opencommit icon indicating copy to clipboard operation
opencommit copied to clipboard

[Feature]: GPT is passed my commit message draft to rewrite

Open evmckinney9 opened this issue 1 year ago • 3 comments

Description

Instead of passing only the contents of the diff, also pass the written commit message. This gives the AI more context, and the goal being I would have to do less editing after receiving back the message if it knew my message intention on the first pass.

This would let me still be mostly in control of the message, but would automatically update my messages to use the conventional commit standards.

Suggested Solution

Prompt is updated to be something like "rewrite the following git message: {}, using this git diff "{} ...".

Alternatives

No response

Additional Context

No response

evmckinney9 avatar May 23 '23 15:05 evmckinney9

nice idea, i guess we should add this as a a Github action setting.

who wants to make a PR to benefit the community and get some fame?

di-sukharev avatar May 26 '23 06:05 di-sukharev

I will it it a try. Do you have any suggestions for what I should do at a high-level?

evmckinney9 avatar May 26 '23 13:05 evmckinney9

Stale issue message

github-actions[bot] avatar Jul 05 '23 21:07 github-actions[bot]