Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>GitBuddy Smart CommitNew to Visual Studio Code? Get it now.
GitBuddy Smart Commit

GitBuddy Smart Commit

Git Buddy

|
2 installs
| (0) | Free
AI-powered commit messages and Smart Commit & Push for GitHub repos inside VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GitBuddy Smart Commit

GitBuddy is an AI-powered Git assistant for VS Code.

It lives inside the editor and helps you:

  • 🔐 Connect your local repo to GitHub
  • 🧠 Generate high-quality commit messages from your Git diff (via Supabase Edge Function)
  • ✅ Smart commit & push in one action
  • 💬 Preview and edit the AI commit message before pushing

Features

🤝 GitHub integration

  • Uses VS Code’s built-in GitHub authentication (github auth provider)
  • Detects your current repository, branch, and remote
  • Can create a new GitHub repo or connect to an existing one
  • Optionally performs the initial git push -u origin <branch>

🧠 AI commit messages (via Supabase)

On Generate / Smart Commit GitBuddy:

  1. Computes the Git diff for your repo (staged + unstaged changes)

  2. Sends the diff to your Supabase Edge Function:

    const response = await fetch(
      "https://cogspkafsqkzhokcpvzu.supabase.co/functions/v1/generate-commit-message",
      {
        method: "POST",
        headers: { "Content-Type": "application/json" },
        body: JSON.stringify({ diff: gitDiffOutput })
      }
    );
    
  3. Expects a JSON response like: { "suggestions": [ { "type": "conventional", "title": "docs: update README", "body": "Optional body text", "full": "docs: update README\n\nOptional body text" } ], "analysis": { "filesChanged": 1, "additions": 5, "deletions": 2, "primaryType": "docs", "scope": null } }

  4. Automatically picks the conventional suggestion (or the first one) and uses its full value as the commit message.

Note: You control the Supabase function and model. This extension only sends the Git diff and uses whatever commit messages your function returns.

🧾 Commit preview + Smart Push

Generate with AI (in the GitBuddy panel):

Calls your Supabase function

Shows the chosen commit message in a textarea

Does not commit or push yet

Smart Commit & Push:

Calls Supabase again using the current diff

Commits all tracked changes using the AI message

Commands

This extension contributes the following commands:

GitBuddy: Open Panel – opens the GitBuddy webview panel

GitBuddy: Smart Commit & Push – generate AI message, commit, and push

GitBuddy: Connect Repo to GitHub – create or connect a remote GitHub repository

You can access them via:

Command Palette (Ctrl+Shift+P / Cmd+Shift+P)

The GitBuddy status bar item

GitBuddy Panel

Open with: GitBuddy: Open Panel

The panel shows:

Logged-in GitHub account

Current repo name and branch

Whether a remote is configured

A Generate with AI button

A commit message textarea

Actions:

Smart Commit & Push

Connect Repo to GitHub

Refresh

Recommended workflow:

Make changes in your repo

Open GitBuddy panel

Click Generate with AI to fill the commit message

Optionally edit the text

Click Smart Commit & Push

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