Skip to content
| Marketplace
Sign in
Visual Studio Code>SCM Providers>AI Git Copilot - Smart Commit Message GeneratorNew to Visual Studio Code? Get it now.
AI Git Copilot - Smart Commit Message Generator

AI Git Copilot - Smart Commit Message Generator

fangkyi03

|
95 installs
| (0) | Free
AI 驱动的 Git 提交助手 - 智能生成规范的 Git 提交消息,让 Git 提交更轻松
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI Git Copilot

🤖 AI 驱动的 Git 提交助手 - 智能生成规范的 Git 提交消息,让 Git 提交更轻松

✨ 特性

  • 🧠 基于 AI 智能分析代码变更,自动生成清晰的提交消息
  • 📝 支持约定式提交规范(Conventional Commits)
  • 🎯 自动识别分支名称和修复编号
  • 🎨 美观的 Emoji 提交类型选择
  • ⚡️ 快速且易用的界面

🚀 使用方法

  1. 在 VS Code 中打开你的 Git 仓库
  2. 暂存你要提交的更改(使用 git add)
  3. 点击源代码管理图标,或使用快捷键 Cmd+Shift+P(Mac)/ Ctrl+Shift+P(Windows/Linux)
  4. 输入 "AI Git Copilot" 并选择 "生成智能提交消息"
  5. 从列表中选择提交类型(如 feat、fix 等)
  6. AI 将自动分析你的代码变更并生成规范的提交消息

📋 提交消息格式

生成的提交消息格式如下:

branch-name: type: [#issue-number] commit message

例如:

  • feature/user-profile: feat: 添加用户头像上传功能
  • fix-123: fix: [#123] 修复登录按钮在移动端显示异常的问题

⚙️ 配置选项

你可以在 VS Code 设置中自定义提交类型列表:

{
  "ai-git-copilot.prefixes": [
    "feat: ✨ 新功能",
    "fix: 🐛 修复",
    "docs: 📚 文档",
    "style: 💎 格式",
    "refactor: ♻️ 重构",
    "test: 🚨 测试",
    "chore: 🔧 构建"
  ]
}

📦 系统要求

  • Visual Studio Code 1.85.0 或更高版本
  • Git 安装在系统中

🔧 安装

  1. 打开 VS Code
  2. 按 Cmd+Shift+X(Mac)或 Ctrl+Shift+X(Windows/Linux)打开扩展视图
  3. 搜索 "AI Git Copilot"
  4. 点击安装

📝 许可证

MIT

🤝 贡献

欢迎提交 Issues 和 Pull Requests!

📧 联系方式

如有问题或建议,请在 GitHub 上提交 Issue。

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