# Simple AI Commit Message Generator Set **GPT_API_KEY** env variable to contain your ChatGPT API Key. Generate one within your OpenAI Subsription [OpenAI API KEY](https://platform.openai.com/api-keys) ## Execute ```bash git diff --staged | gpt-commit-message ```