3 ms·
Show HN: LLM plugin to automatically generate Git commit messages
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
- vagozino 2y agoThat'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.
- gntousakis 2y agoThat would be very cool to build!
- yoghurtina 2y agoWow!
- gliargko 2y agoIt would be cool if you could also provide custom commit instructions e.g., for following a specific template.