💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC] > [github](https://github.com/git-chglog/git-chglog#installation) ## 概述 通过 git commit 自动生成 CHANGELOG 安装 ``` go get -u github.com/git-chglog/git-chglog/cmd/git-chglog ``` ## git 规范 ### git commit 格式 注意 comit 的提交格式为使用idea 的 `Git Commit Message Helper` 插件填写 其生成的格式如下 ``` feture(file server):file_server body ``` 就会生成 ``` Feature file server: file server ``` 2. tag 标签 git-chglog 会更具 tag 生成标签自动生成版本,所以需要注意完成一个阶段的任务后需要打标签 ## 示例 1. 初始化 ``` git-chglog --init ``` 2. 生成 CHANGELOG ``` git-chglog -o CHANGELOG.md ```