🧠AI-powered Git commit assistant using OpenAI.
This script helps you write clear, one-line commit messages from Git diffs using GPT-4.
- Understands real Git diffs (even untracked files)
- Auto-generates commit messages with OpenAI
- Confirms before committing and pushing
- Interactive repo selector
Make it executable:
chmod +x commitmsg.sh
Run it:
./commitmsg.sh
Or add to your shell config:
alias aicomm="~/dev/commit-gpt/commitmsg.sh"