作为开发人员,优化和改进工作流程始终是首要任务。Aicommits 是一个 CLI,可以使用 AI 为开发者编写 git 提交消息,其本质是使用 OpenAPI 来分析代码更改并自动生成描述性提交消息。下面是官方的直接描述:A CLI that writes your git commit messages for you with AI. Never write a commit message again.Aicom...
支持使用配置好的AI大模型生成git commit message . 插件地址:https://plugins.jetbrains.com/plugin/24851-ai-git-commit?noRedirect=true ruanyf added the weekly label Nov 24, 2024 fripig mentioned this issue Dec 2, 2024 2024-12-02 - 41個標籤頁 fripig/article_log#2258 Open Sign up for ...
自动撰写 git commit ,通过 git c 的命令就可以自动生成你的 git commit message ,十分方便。 自定义 commit 模板:支持最佳实践自定义模板,让 AI 学习定制化的 commit style 。 现在我一天基本会有好几个 commit,因此用 gcop 特别高频,每天都会用,有了 gcop 之后,感觉写 commit 的质量好了很多,commit message...
Relegate excess to body: 如果大模型生成的信息长度超过 Commit subject limit 是否将多余的信息放到 body 中 注意:Global Prompt 的配置是全局的,即所有的项目都会使用这个配置。如果你要为某个项目单独配置,可以在 Settings -> Plugins -> Tools -> Git Assistant -> Prompt 中配置。 使用AI 功能生成提交信息...
# Mac 用户可使用 `brew install czg`npm install -g czg# 设置token `czg --openai-token=sk-xxxxx`# 设置完token后,在你的任何项目中,运行下列命令czg ai# 返回多个简短描述,并开启选择模式git czg ai -N=5 项目依赖使用 npm install -D czg# yarn add -D czg# pnpm install -D czg ...
每次基于Git提交代码,都要写 Commit message(提交说明),否则就不允许提交。 $git commit -m"hello world" -m参数 : 指定 commit mesage 1.2 规范的提出背景 软件工程团队多人协作时,commit 混乱不堪,让人头痛———需要统一化、规范化。 Git每次提交代码都需要写commit message,否则就不允许提交。 一般...
node-gptcommit node-gptcommit是基于gptcommit实现思路去开发的node版本工具命令,可以根据项目中git的diff文件列表去生成git commit信息。 具体效果可以参考以下步骤: 1.安装 npm install node-gptcommit -g 2.设置openai的apikey ngptcommit config --set openai.apiKey=sk-xxxxx ...
AI代码助手复制代码 接入后的Git commit操作流程 第一步:创建一个feature分支或者bugfix分支 sh $ git checkout -b feature_infinite_load # 切换到一个feature分支或者bug fix分支sh 第二步:将代码提交到本地Git仓库,并填写符合要求的Commit message格式 ...
Otherwise, it will generate and print a commit message based on the staged diff. Uninstall To uninstall Kemit, you can use the uninstall script which removes the installed binary: sudo curl -fsSL https://raw.githubusercontent.com/zaidfadhil/kemit/main/uninstall.sh | sh // or sudo wget -...
一、Commit message 的格式 每次提交,Commit message 都包括三个部分:Header,Body 和 Footer。 <type>(<scope>):<subject>// 空一行 AI代码助手复制代码 其中,Header、针对feat和fix类型的提交内容 Body 是必需的。 不管是哪一个部分,任何一行都不得超过72个字符(或100个字符)。这是为了避免自动换行影响美观。