Skip to content

GitAutoCommit(gitac) 命令行工具, 自动化生成标准Git提交说明的中英双语助手,基于代码变更分析。

License

Notifications You must be signed in to change notification settings

brinkqiang/gitac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitAutoCommit(gitac) 命令行工具

Mobile Preview

自动化生成标准Git提交说明的中英双语助手,基于代码变更分析。

文档

命令行参数

常用选项

# 使用火山引擎配置(需设置环境变量VOLCENGINE_API_KEY)
gitac --config_name=volcengine-deepseek-r1

# 自定义模型端点
gitac --base_url=https://api.deepseek.com/v1 --model=deepseek-chat --api_key=<sk-xxxxxxx> --has_confirm=true

# 其他参数 --help查看
gitac --help

火山引擎配置

  1. 前往火山引擎控制台申请API Key
  2. 设置环境变量:
setx VOLCENGINE_API_KEY "<YOUR_API_KEY>" /m
  1. 运行程序:
gitac --config_name=volcengine-deepseek-r1

完整参数

参数 必选 说明 示例值
--api_key API认证密钥 sk-xxxxxxxxxxxxxxxxxxxxxx
--model 指定AI模型名称 deepseek-chat
--base_url 自定义API端点地址 https://api.example.com
--has_confirm 是否需要确认 true
--config_name 使用内置配置(默认volcengine) volcengine-deepseek-r1

输出示例

Mobile Preview

使用注意事项

  1. 请在Git仓库根目录执行命令
  2. 确保API密钥有效且网络通畅
  3. 提交前确认生成内容准确性

About

GitAutoCommit(gitac) 命令行工具, 自动化生成标准Git提交说明的中英双语助手,基于代码变更分析。

Resources

License

Stars

Watchers

Forks

Packages

No packages published