Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>Git AI CommiterNew to Visual Studio Code? Get it now.
Git AI Commiter

Git AI Commiter

vigosss

|
4 installs
| (0) | Free
使用 DeepSeek AI 大模型自动生成 Git Commit 消息
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git AI Commiter

Git AI Commiter Logo

一个基于 AI 大模型的 VSCode 插件,根据 Git 代码变更自动生成规范的 Commit 消息。(当前默认支持 DeepSeek)

✨ 功能特性

  • 🤖 AI 自动生成 — 基于 AI 大模型,智能分析代码变更,生成高质量 Commit 消息(当前支持 DeepSeek)
  • 🔄 流式输出 — 实时流式展示 AI 生成过程,所见即所得
  • ✏️ 手动润色 — 输入简短描述,AI 帮你润色为规范的 Commit 消息
  • 📝 自定义提示词 — 支持自定义、编辑、删除提示词模板
  • 🔀 模型切换 — 支持在多个 AI 模型间自由切换(当前支持 DeepSeek V4-Pro、V4-Flash 等)
  • 🌐 多语言支持 — 支持简体中文、English 等多种输出语言
  • ⚙️ 灵活配置 — 支持自定义 API 地址,兼容所有 OpenAI 兼容接口

📦 安装

从 VSCode 市场安装

在 VSCode 扩展商店搜索 "Git AI Commiter" 即可安装。

从 VSIX 安装

  1. 从 Releases 下载最新的 .vsix 文件
  2. 在 VSCode 中执行 Extensions: Install from VSIX...
  3. 选择下载的文件即可安装

🚀 快速开始

1. 获取 API Key

前往 DeepSeek 开放平台 注册并获取 API Key(以 DeepSeek 为例,也支持其他 OpenAI 兼容接口)。

2. 配置 API Key

打开 VSCode 设置(Cmd/Ctrl + ,),搜索 git-ai-commiter,填入你的 API Key。

3. 生成 Commit 消息

在 Source Control 面板中点击 AI 图标按钮,或使用命令面板(Cmd/Ctrl + Shift + P)搜索 Git AI Commiter。

⚙️ 配置项

配置项 说明 默认值
git-ai-commiter.deepseek.apiKey DeepSeek API 密钥 -
git-ai-commiter.deepseek.baseUrl API 基础 URL https://api.deepseek.com
git-ai-commiter.deepseek.model 模型名称 deepseek-v4-flash
git-ai-commiter.deepseek.temperature 温度参数 0.7
git-ai-commiter.deepseek.topP Top-P 参数 1
git-ai-commiter.deepseek.maxTokens 最大输出长度 8192
git-ai-commiter.language 输出语言 简体中文
git-ai-commiter.git-diff.area Diff 区域(auto/cached/working) auto

📋 命令列表

命令 说明
Git AI Commiter: AI生成 Commit消息 根据代码变更自动生成 Commit 消息
Git AI Commiter: 手动生成Commit消息(AI润色) 手动输入消息,AI 润色
Git AI Commiter: 切换AI模型 切换 DeepSeek 模型
Git AI Commiter: 添加提示词模板 添加自定义提示词
Git AI Commiter: 编辑提示词模板 编辑已有提示词
Git AI Commiter: 删除提示词模板 删除提示词
Git AI Commiter: 选择提示词模版 选择使用的提示词模板
Git AI Commiter: 下载远程提示词 从远程下载提示词模板
Git AI Commiter: 打开设置 打开插件设置页

🔧 支持的模型

当前默认支持 DeepSeek 系列模型,后续将持续扩展更多 AI Provider。

模型 说明
deepseek-v4-flash DeepSeek V4 Flash(默认推荐,轻量快速)
deepseek-v4-pro DeepSeek V4 Pro(高级推理)
deepseek-chat DeepSeek V3 Chat(即将废弃)
deepseek-reasoner DeepSeek R1 推理模型(即将废弃)

MIT

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