← 返回
开发者工具 中文

Git Changelog Generator

Generate changelogs from git commits. Supports markdown, plain text, and JSON output with date ranges and tag-based filtering.
{"answer":"从Git提交生成更新日志,支持Markdown、纯文本及JSON输出,可按日期范围与标签过滤。"}
rogue-agent1
开发者工具 clawhub v1.0.0 1 版本 99879.2 Key: 无需
★ 0
Stars
📥 1,653
下载
💾 13
安装
1
版本
#latest

概述

Git Changelog

When to use

Generate a human-readable changelog from git commit history. Works with any git repository.

Setup

No dependencies required. Uses only git and bash.

How to

Basic changelog (last 30 days or since last tag)

bash scripts/changelog.sh --repo /path/to/repo

Since a specific date

bash scripts/changelog.sh --repo /path/to/repo --since "2026-01-01"

Date range

bash scripts/changelog.sh --repo /path/to/repo --since "2026-01-01" --until "2026-02-01"

JSON output (for programmatic use)

bash scripts/changelog.sh --repo /path/to/repo --format json

Plain text output

bash scripts/changelog.sh --repo /path/to/repo --format plain

Output Formats

FormatDescription
---------------------
markdownDefault. Headers, commit hashes, authors, dates
plainSimple bullet list
jsonArray of commit objects with hash, subject, author, date, type

Options

FlagDescriptionDefault
----------------------------
--repo Repository pathCurrent directory
--since Start dateLast tag or 30 days ago
--until End dateNow
--format Output formatmarkdown
--groupGroup by conventional commit typeOff (needs bash 4+)

Notes

  • Automatically detects the last git tag and uses it as the start point
  • Excludes merge commits for cleaner output
  • Conventional commit types (feat/fix/docs/etc) are extracted for JSON output
  • --group mode requires bash 4+ (macOS ships with 3.2; install via brew install bash)

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 03:23 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

content-creation

Web Monitor

rogue-agent1
监控网页内容变化,获取提醒。追踪URL,检测更新,查看差异。适用于被要求监视网站或跟踪页面变化的场景。
★ 3 📥 4,688
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,799
developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 65 📥 179,847