作为开发人员,优化和改进工作流程始终是首要任务。Aicommits 是一个 CLI,可以使用 AI 为开发者编写 git 提交消息,其本质是使用 OpenAPI 来分析代码更改并自动生成描述性提交消息。下面是官方的直接描述:A CLI that writes your git commit messages for you with AI. Never write a commit message again.Aicom...
New issue Open 支持使用配置好的AI大模型生成git commit message . 插件地址:https://plugins.jetbrains.com/plugin/24851-ai-git-commit?noRedirect=true Sign up for freeto join this conversation on GitHub.Already have an account?Sign in to comment...
Prompt: Basic 和 Conventional Commits 两种模式 Output template: 在选择 Basic 模式后可以通过模版定义生成的 commit message 的格式,模版中可以使用 $message 和 $branch 两个变量。 Commit subject limit: 生成的 commit message 的长度限制 Truncate excessive length: 如果大模型生成的信息长度超过 Commit subject ...
node-gptcommit是基于gptcommit实现思路去开发的node版本工具命令,可以根据项目中git的diff文件列表去生成git commit信息。 具体效果可以参考以下步骤: 1.安装 npm install node-gptcommit -g 2.设置openai的apikey ngptcommit config --set openai.apiKey=sk-xxxxx 3.开始使用 请到某个git仓库的根目录使用,具体如...
node-gptcommit是基于gptcommit实现思路去开发的node版本工具命令,可以根据项目中git的diff文件列表去生成git commit信息。 具体效果可以参考以下步骤: 安装 1 npm install node-gptcommit -g 设置openai的apikey 1 ngptcommit config --set openai.apiKey=sk-xxxxx ...
git add<files...>git commit#Only generates a message when it's not passed in If you ever want to write your own message instead of generating one, you can simply pass one in:git commit -m "My message" Aicommits will generate the commit message for you and pass it back to Git. Git...
1.抓取代码更改:AI Commits 运行git diff命令,自动抓取你所有最新的代码更改。 2.传输到 OpenAI GPT-3:抓取的代码变更会被发送到 OpenAI 的 GPT-3 模型。 3.AI 生成提交信息:根据代码变动,GPT-3 生成简洁、准确的提交信息。 4.返回提交信息:AI Commits 将生成的提交信息返回给你,让你只需简单确认或稍作修改...
如果你刚刚做了一个git commit,但随后意识到你提交的信息有误或者需要改进,你可以使用git commit --amend命令来修改最后一次提交的信息。 以下是如何使用它的步骤: 打开命令行或终端。 确保你当前处于你想要修改的提交的分支上。 输入git commit --amend,然后按回车键。这将打开你默认的文本编辑器,通常是 Vim、Na...
git config --global user.name userName git config --global user.email userEmail 使用HTTPS 协议时,命令行会出现如下账号密码验证步骤。基于安全考虑,Gitee 建议配置并使用私人令牌替代登录密码进行克隆、推送等操作 Username for 'https://gitee.com': userName ...
# 克隆项目 $ git clone https://github.com/milvus-io/milvus.git # 安装第三方依赖 $ cd milvus/ $ ./scripts/install_deps.sh # 编译 Milvus 单机版 $ make milvus 获取更多内容,请阅读 开发者文档。 注意 主分支用于 Milvus v2.0 代码开发。Milvus v1.0 于 2021 年 3 月 9 日发布,是 Milvus ...