/gomit

use gpt to generate commit message

Primary LanguageGo

gomit config OPENAI_KEY <your-openai-key>
gomit config OPENAI_URL <your-openai-org>
git add <file>
gomit .

Response:

feat: Initial commit with README, go.mod, and gomit.go

- Added README.md with usage instructions.
- Added go.mod with module declaration.
- Added gomit.go with initial implementation for generating commit messages based on staged changes.