chore(release): bump version to 0.5.0 and update changelog
This commit is contained in:
30
readme_zh.md
30
readme_zh.md
@@ -62,7 +62,7 @@ quicommit commit
|
||||
# 手动提交
|
||||
quicommit commit --manual -t feat -m "添加新功能"
|
||||
|
||||
# 暂存所有文件并提交
|
||||
# 暂存所有文件并提交(自动跳过 .gitignore 匹配的文件)
|
||||
quicommit commit -a
|
||||
|
||||
# 跳过确认直接提交
|
||||
@@ -71,16 +71,24 @@ quicommit commit --yes
|
||||
# 使用日期格式的提交信息
|
||||
quicommit commit --date
|
||||
|
||||
# 为本次提交启用 LLM 思考/推理模式
|
||||
quicommit commit --think
|
||||
|
||||
# 提交后推送到远程
|
||||
quicommit commit --push
|
||||
```
|
||||
|
||||
在暂存更改时(自动暂存或 `--all` 模式),会自动跳过匹配 `.gitignore` 规则的文件,并清理索引中已被忽略的已跟踪文件,最后打印出被跳过的文件列表。
|
||||
|
||||
### 创建标签
|
||||
|
||||
```bash
|
||||
# 自动检测版本升级
|
||||
quicommit tag
|
||||
|
||||
# 从 Cargo.toml/pyproject.toml 自动检测版本,回退到基于 commit 的分析
|
||||
quicommit tag --auto
|
||||
|
||||
# 指定版本升级类型
|
||||
quicommit tag --bump minor
|
||||
|
||||
@@ -97,11 +105,14 @@ quicommit tag --push
|
||||
### 生成变更日志
|
||||
|
||||
```bash
|
||||
# 生成未发布变更的变更日志
|
||||
# 生成未发布变更的变更日志(未指定 --from 时自动从现有 changelog 的最高版本检测)
|
||||
quicommit changelog
|
||||
|
||||
# 为特定版本生成
|
||||
quicommit changelog -v 1.0.0
|
||||
quicommit changelog --version 1.0.0
|
||||
|
||||
# 从指定标签生成
|
||||
quicommit changelog --from v0.9.0
|
||||
|
||||
# AI生成变更日志
|
||||
quicommit changelog --generate
|
||||
@@ -216,7 +227,7 @@ quicommit profile token
|
||||
```bash
|
||||
# 配置Ollama(本地)
|
||||
quicommit config set-llm ollama
|
||||
quicommit config set-llm ollama --url http://localhost:11434 --model llama2
|
||||
quicommit config set-llm ollama --base-url http://localhost:11434 --model llama2
|
||||
|
||||
# 配置OpenAI
|
||||
quicommit config set-llm openai
|
||||
@@ -303,13 +314,14 @@ quicommit config reset --force
|
||||
| `-b, --breaking` | 标记为破坏性变更 |
|
||||
| `-d, --date` | 使用日期格式的提交信息 |
|
||||
| `--manual` | 手动输入,跳过AI生成 |
|
||||
| `-a, --all` | 暂存所有更改 |
|
||||
| `-a, --all` | 暂存所有更改(自动跳过 `.gitignore` 匹配的文件) |
|
||||
| `-S, --sign` | GPG签名提交 |
|
||||
| `--amend` | 修改上一次提交 |
|
||||
| `--dry-run` | 试运行,不实际提交 |
|
||||
| `--conventional` | 使用Conventional Commits格式 |
|
||||
| `--commitlint` | 使用commitlint格式 |
|
||||
| `--no-verify` | 不验证提交信息 |
|
||||
| `-t, --think` | 启用 LLM 思考/推理模式(覆盖配置) |
|
||||
| `-y, --yes` | 跳过确认提示 |
|
||||
| `--push` | 提交后推送到远程 |
|
||||
| `--remote` | 指定远程仓库(默认:origin) |
|
||||
@@ -320,6 +332,7 @@ quicommit config reset --force
|
||||
|------|------|
|
||||
| `-n, --name` | 标签名称 |
|
||||
| `-b, --bump` | 版本升级类型(major/minor/patch) |
|
||||
| `-A, --auto` | 从 Cargo.toml/pyproject.toml 自动检测版本,回退到基于 commit 的分析(与 `--bump` 互斥) |
|
||||
| `-m, --message` | 标签信息 |
|
||||
| `-g, --generate` | AI生成标签信息 |
|
||||
| `-S, --sign` | GPG签名标签 |
|
||||
@@ -328,6 +341,7 @@ quicommit config reset --force
|
||||
| `-p, --push` | 推送到远程 |
|
||||
| `-r, --remote` | 指定远程仓库(默认:origin) |
|
||||
| `--dry-run` | 试运行 |
|
||||
| `-t, --think` | 启用 LLM 思考/推理模式(覆盖配置) |
|
||||
| `-y, --yes` | 跳过确认提示 |
|
||||
|
||||
### changelog命令选项
|
||||
@@ -335,16 +349,16 @@ quicommit config reset --force
|
||||
| 选项 | 说明 |
|
||||
|------|------|
|
||||
| `-o, --output` | 输出文件路径 |
|
||||
| `-v, --version` | 为特定版本生成 |
|
||||
| `-f, --from` | 从指定标签生成 |
|
||||
| `--version` | 为特定版本生成 |
|
||||
| `-f, --from` | 从指定标签生成(未指定时自动从现有 changelog 的最高版本检测) |
|
||||
| `-t, --to` | 生成到指定引用(默认:HEAD) |
|
||||
| `-i, --init` | 初始化新的变更日志文件 |
|
||||
| `-g, --generate` | AI生成变更日志 |
|
||||
| `--prepend` | 添加到现有变更日志开头 |
|
||||
| `--include-hashes` | 包含提交哈希 |
|
||||
| `--include-authors` | 包含作者信息 |
|
||||
| `--format` | 格式(keep-a-changelog、github-releases) |
|
||||
| `--dry-run` | 试运行(输出到stdout) |
|
||||
| `--think` | 启用 LLM 思考/推理模式(覆盖配置) |
|
||||
| `-y, --yes` | 跳过确认提示 |
|
||||
|
||||
## 配置文件
|
||||
|
||||
Reference in New Issue
Block a user