-
Notifications
You must be signed in to change notification settings - Fork 390
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
Take into account previous commit messages #238
Comments
I had the exact same idea, and implemented it here: Feel free to grab that code. Or I can open a pull request if you prefer. Concerns:
|
I think there is one thing to be noted: If previous commits with AI generated messages are factored in, this will distort the style, therefore there would either be a system to separately store which commits are AI generated or just storing a single commit hash after which it can't be assumed that all commits are written by humans. |
@joeytwiddle I really like your tweaks, you should definitely make a pr! |
@moritz-t-w Thanks, but my experience is that my tweaks don't work very well! The AI always chooses to use conventional style (usually with the "refactor" label) even if previous commits used different tags, or didn't use conventional style at all. |
Well maybe that'll need some work but the other things you've done seem pretty reasonable |
Feature request
Option to take preivous commit messages into account when creating a new one.
Why?
So that the generated commit messages are in same style as previous ones. Therefore increasing the chance of suggested message to fit.
Alternatives
Reject the suggested commit msg and manually commit.
Additional context
No response
The text was updated successfully, but these errors were encountered: