Show HN: Script to Auto-Generate Commit Messages with AI
github.com
Show HN: Script to Auto-Generate Commit Messages with AI
1–4 of 4 posts
Re: Show HN: Script to Auto-Generate Commit Messages with AI
#2Re: Show HN: Script to Auto-Generate Commit Messages with AI
#3I've made something similar too (but as part of a neovim plugin) - it'd be helpful to be able to specify more information about the commit message, e.g. that it should conform to conventional commits.
Good point about making the AI more aware of conventional commits. In fact, sometimes the AI tends to follow a more conventional commit style, sometimes not. But there is an option to add specific instructions, like adhering to conventional commits or any custom guidline, but anyway, its still in progress ;-) And I usually manually the generated commit messages to fit in a specific context.
One of the challenges I've noticed is that the AI sometimes struggles to distinguish between formatting and actual code changes. So, to address this, I usually also provide additional instructions or make manual adjustments.
Re: Show HN: Script to Auto-Generate Commit Messages with AI
#4I've made something similar too (but as part of a neovim plugin) - it'd be helpful to be able to specify more information about the commit message, e.g. that it should conform to conventional commits.
I would like to check out your implementation in the neovim plugin. Do you have a direct link? As for myself, I was always more into doing git-related tasks directly in the terminal without relying on plugins or external tools, therefore bash scripting naturally aligned with that approach for me, even though I also do the editing in neovim... Good point about making the AI more aware of conventional commits. In fact,…
Here's where the commit message prompt is: https://github.com/gsuuon/llm.nvim/blob/2d771cc882ad9edd8011...