Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>AI Commit GollmannNew to Visual Studio Code? Get it now.
AI Commit Gollmann

AI Commit Gollmann

Gollmann

|
5 installs
| (1) | Free
Generate AI-powered commit messages using ChatGPT
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI Commit - VS Code Extension

An intelligent VS Code extension that generates AI-powered commit messages using OpenAI's GPT models. Perfect for developers who want to write better, more descriptive commit messages with minimal effort.

✨ Features

  • 🤖 AI-Powered Commit Messages: Generate intelligent commit messages using OpenAI's GPT-4o-mini model
  • 🔧 Customizable Settings: Configure API keys, models, temperature, and token limits
  • 🎯 Smart Context: Analyzes staged and unstaged changes to generate relevant messages
  • ⚡ Quick Integration: Seamlessly integrates with VS Code's built-in Git functionality
  • 🔒 Secure: API keys are stored securely in VS Code's configuration

🚀 Installation

From VS Code Marketplace

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X / Cmd+Shift+X)
  3. Search for "AI Commit Gollmann"
  4. Click Install

📋 Prerequisites

  • OpenAI API Key: You'll need an OpenAI API key to use this extension
  • Git Repository: The extension works with Git repositories

🛠️ Configuration

Initial Setup

  1. Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
  2. Run "AI Commit: Configure Settings"
  3. Enter your OpenAI API key
  4. Configure other settings as needed

Available Settings

Setting Description Default Range
aiCommit.apiKey Your OpenAI API key - -
aiCommit.model AI model to use gpt-4o-mini gpt-4o-mini -gpt-4.1-mini
aiCommit.temperature Creativity level (0=focused, 2=creative) 0.7 0-2
aiCommit.maxTokens Maximum tokens for commit message 150 10-500
aiCommit.customPrompt Custom prompt template See below -

🎯 Usage

Generate Commit Message

Use the Source Control panel

  • Open the Source Control panel (Ctrl+Shift+G / Cmd+Shift+G)
  • Click the "Generate AI Commit Message" button in the title bar

What Happens

  1. The extension analyzes your staged changes (or unstaged if no staged changes)
  2. Sends the changes to OpenAI's API with your configured prompt
  3. Generates a commit message based on the AI response
  4. Automatically sets the commit message in the Source Control input box

📝 Commit Message Formats

Conventional Format

Follows the Conventional Commits specification:

feat(auth): add user authentication system
fix(api): resolve undefined response error
docs(readme): update installation instructions

📄 License

This project is licensed under the MIT License

🙏 Acknowledgments

  • OpenAI for providing the AI models
  • VS Code for the excellent extension API
  • Conventional Commits for the commit message specification

🐛 Troubleshooting

Common Issues

"OpenAI API key not configured"

  • Run "AI Commit: Configure Settings" and enter your API key

"Invalid OpenAI API key"

  • Check that your API key is correct and has sufficient credits

"Rate limit exceeded"

  • Wait a moment and try again, or check your OpenAI usage limits

"No changes found"

  • Make sure you have staged or unstaged changes in your Git repository

Made with ❤️ for developers who love clean commit messages

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft