AI Commit is a powerful tool that generates Git commit messages using AI, supporting various models and providers. Integrate with LazyGit and VS Code, making it easy to incorporate AI-generated commit messages into your workflow.
Features
🤖 Generate commit messages using AI
🔄 Support for multiple AI providers (OpenAI, Anthropic, OpenRouter, Groq, and OpenAI-compatible)
🖥️ CLI tool for easy integration into your workflow
📝 VS Code extension for seamless integration within the editor
🔗 LazyGit integration for streamlined Git operations
VS Code Extension
Open a Git repository in VS Code
Make some changes and stage them
Open the Source Control view (Ctrl+Shift+G or Cmd+Shift+G)
Click on the "Generate Commit Messages" button (lightbulb icon) in the Source Control title bar
Select a generated commit message from the quick pick menu
The selected message will be automatically inserted into the commit message input box
You can also use the command palette (Ctrl+Shift+P or Cmd+Shift+P) and search for "AI Commit: Generate Commit Messages" to trigger the extension.
To update the API key or test the connection:
Open the command palette
Search for "AI Commit: Change API Key" or "AI Commit: Test API Key"