Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: LLM plugin to automatically generate Git commit messages (github.com/gntousakis)
8 points by gntousakis 10 months ago | hide | past | favorite | 4 comments
This is a small plugin for Simon Willison’s llm utility. It uses staged Git changes and generates a commit message using a LLM.

You can do things like:

git add . # Stage your changes

llm commit # Automatically generate a commit message from the staged diff

llm commit --model gpt-4 --max-tokens 150 --temperature 0.8 --yes # Customize model settings (e.g., GPT-4) or skip confirmation



That's cool! One thing I would like is to have an `llm` agent that takes your current un-staged files and automatically figures out how to put them into different commits.


That would be very cool to build!


It would be cool if you could also provide custom commit instructions e.g., for following a specific template.


Wow!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: