AI Git Commit Message Generator using LLM
Inspired by my brother Adam's AI Shell Command Generator (tweet).
- Runs
git commit --dry-run -v
to get a summary of your staged changes. - Prompts
llm
to generate a commit message. - Copies the
git commit -m 'My commit message'
command to your clipboard.
commitm
Install and configure the llm CLI tool. Add the commitm
function to your .zshrc
.