VSX Version VSX Downloads License GitHub Stars

WTF Commit ✨

A minimalist VS Code extension that uses AI to generate concise and meaningful Git commit messages from your staged changes (or working tree changes).

Install Now Star on GitHub

⏱️ Quick Start

1

Install

Search for WTF Commit in the Open VSX Extensions marketplace and install.

2

Set API Key

Press Cmd+Shift+P, type WTF Commit: Set API Key, select your provider, and paste your key.

3

Generate

Press Cmd+Alt+G. The extension will automatically generate a message based on your code diff.

🚀 Features

🌍

Multi-lingual Support

Preset support for English, Chinese, Japanese, Classical Chinese, and Custom strings. Want emojis only? Set a custom language.

📐

Conventional Commits

Automatically follows conventional commit standards (feat, fix, docs, etc.) for a clean and consistent Git history.

🧠

Intent-Aware Generation

Reuses any text already typed into the SCM input box as a zero-config generation hint for more accurate messages.

Streaming Generation

Real-time streaming output so you can see the commit message as it's being generated, no waiting for the full response.

✏️

Interactive Tuning

Auto-commit flows support real-time message editing without blocking Git staging. Fine-tune before pushing.

🔧

Lightweight Recovery

Offers an inline AI Repair action when the generated title format needs a quick fix.

Full Automation
Pipeline

  • 🚀

    Smart Diffing

    Prioritizes staged changes, falls back to working tree changes, and strips low-value diff noise before generation.

  • 🔄

    Auto Commit & Push

    Full automation pipeline — generate, commit, and push in one keystroke without lifting your hands.

  • �️

    Reliable Request Flow

    Built-in timeout + automatic retry with categorized API error handling. Extended reasoning for DeepSeek and other thinking models.

  • ⌨️

    Keyboard Shortcuts

    Default binding Cmd+Alt+G (Mac) / Ctrl+Alt+G (Windows/Linux). Supports chorded keybindings.

Supported Providers

Provider Default Model
OpenAIgpt-5-nano
DeepSeekdeepseek-v4-flash
Moonshot (Kimi)kimi-k2.6
GLM (Zhipu)glm-5.1
Geminigemini-3.1-flash-lite
OpenRouteropenrouter/free
CustomAny OpenAI-compatible endpoint
⚠️ Claude Support: Native Claude format is not supported yet. Please use a proxy service that provides an OpenAI-compatible endpoint.

🕹️ Other Ways to Trigger

  • Source Control Icon — Click the ✨ icon at the top of the Git panel.

  • 🎨

    Command Palette — Run WTF Commit: Generate or WTF Commit: Set API Key.

  • 🎹

    Chorded Keybinding — Bind a double-press like Cmd+G Cmd+G via Keyboard Shortcuts (Cmd+K Cmd+S).

Ready to level up?

Simplify your workflow and keep your Git history clean with AI.

Install on VS Code