1 Star 2 Fork 1

zzginfo/dify-gitcommit-generator

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
钟志国-zhongzhiguo2020 钟志国 feat e820335 1个月前
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

Dify GitCommit Generator

VSCode 插件,使用 AI 生成规范的 Git commit 信息。

功能特点

  • 🤖 AI 驱动:基于 deepseek 生成智能的 commit 信息
  • 📝 自定义提示词:支持自定义提示词模板
  • 🔍 Git 变更分析:自动分析暂存区的代码变更
  • 📋 Markdown 支持:生成格式化的 Markdown commit 信息

安装

  1. 在 VSCode 扩展商店中搜索 "Dify GitCommit Generator"
  2. 点击安装

使用方法

  1. 代码暂存:确保要提交的代码已通过 git add 添加到暂存区
  2. 编辑提示词(可选):可以根据需要修改提示词模板,产出符合自己需求的 commit 信息。
  3. 添加 DeepSeek API Key:输入你的 DeepSeek API sk-*****) 注意看下面的Dify相关说明
  4. 生成 commit 信息:点击按钮生成规范的 commit 信息

配置说明

  • Dify API Key:需要在 DeepSeek 注册并获取 API Key
  • 提示词模板:使用 [data] 作为数据占位符,会被替换为实际的 Git 变更数据

问题反馈

如果你在使用过程中遇到任何问题,欢迎在Gitee dify-gitcommit-generator

许可证

MIT License

作者

MIT License Copyright (c) 2024 commit-ai Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

vscode插件, 使用AI,git,能力, 生成 git commit 信息。 展开 收起
JavaScript 等 2 种语言
MIT
取消

发行版

暂无发行版

贡献者 (1)

全部

近期动态

17天前推送了新的提交到 develop_v2 分支,ad903c2...aa33cc7
17天前推送了新的 v1.0.2 标签
20天前推送了新的提交到 develop_v2 分支,31646cc...ad903c2
20天前推送了新的提交到 develop_v2 分支,2d77f6a...31646cc
20天前推送了新的 develop_v2 分支
加载更多
不能加载更多了
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/zzginfo/dify-gitcommit-generator.git
git@gitee.com:zzginfo/dify-gitcommit-generator.git
zzginfo
dify-gitcommit-generator
dify-gitcommit-generator
master

搜索帮助