Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Git Commit Message AutomationNew to Visual Studio Code? Get it now.
Git Commit Message Automation

Git Commit Message Automation

Mosawar

|
10 installs
| (1) | Free
Automatically generate Git commit messages using a local LLM
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Commit Message Automation

Automatically generate Git commit messages for your repositories using Ollama, a local large language model (LLM).

Features

  • Generates concise and informative commit messages based on your staged changes
  • Uses Ollama with the Mistral model for local, private AI processing
  • Works seamlessly with VS Code's Git integration
  • Automatically configures Git hooks when you open a repository
  • Zero manual setup required - just install and use

Requirements

  • VS Code 1.75.0 or higher
  • Git installed and available in your PATH
  • Windows or macOS

Usage

  1. Open a Git repository in VS Code
    • The extension automatically sets up commit message automation for you
  2. Stage your changes using VS Code's source control panel or git add commands
  3. Commit your changes using VS Code's commit dialog
    • The commit message will be automatically generated based on your staged changes
  4. Review the generated message and complete your commit by closing the newly opened window

Troubleshooting

Common Issues

  • No commit message generated: Ensure Ollama is installed and running
  • "Git CLI not found" error: Make sure Git is installed and in your PATH
  • Permission issues: On macOS, ensure the hook script has execution permissions

Logs

To see detailed logs, check the VS Code Output panel (View → Output) and select "Git Commit Message Automation" from the dropdown.

Privacy

This extension uses a local LLM (Ollama) to generate commit messages. Your code never leaves your machine, ensuring your code remains private and secure. No internet connection is needed after the initial model download.

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