
Git Cliff
Conventional commit changelog generator for any Git project.
Replaces —

Who it's for
Git Cliff automates the CHANGELOG.md update on each release tag, feeding conventional commits from the entire history into organized sections. The maintainer runs one command before pushing a tag and gets a changelog file ready for the GitHub Release page.
Your release workflow depends on GitHub's automatic release notes and you have no need to maintain a CHANGELOG.md file in the repository. The platform's native notes generation may be sufficient without an additional tool.
In projects with many contributors, git-cliff reads the full commit history without requiring each contributor to update a changelog file manually. A single CI step on the release branch generates the changelog from whatever commits made it in, filtered by parser rules.
Your team does not follow Conventional Commits and has not documented commit message conventions. Without a parser config, git-cliff will not produce useful section groupings from free-form messages.
Git Cliff ships as the git-cliff-core library on crates.io. Rust projects that orchestrate releases programmatically can call the library directly to generate changelog content as part of a larger build or release pipeline.
You are building in Python, Node.js, or another language. The library integration is Rust-only; other languages use the CLI binary.
The problem
Writing and maintaining a CHANGELOG.md by hand is error-prone for any project with more than a few contributors. Commits get missed between releases, section headers drift in format, and the developer cutting a release has to scan the entire diff to piece together what changed. The result is changelogs that are either incomplete, inconsistently formatted, or simply not updated after the first release. For teams that have adopted Conventional Commits, there is a gap between that investment and usable release notes. The spec captures intent in each commit message, but turning hundreds of prefixed commits into a readable, versioned changelog still requires a scripted or manual pass.
How it works
Parses commit messages following the Conventional Commits specification, grouping them into changelog sections for features (feat:), bug fixes (fix:), breaking changes, and other types you configure. Any repository that follows the spec gets structured output with no extra setup.
Accepts custom regex patterns for commit message parsing when Conventional Commits is not in use. Configure one or more named parsers in a config file to match your project's commit conventions and assign each match to a changelog section.
The changelog output format is controlled by a template in the config file. Adjust section headers, entry formatting, version markers, and ordering to match the Keep a Changelog spec or any custom format your project requires.
Ships as a command-line binary for direct use in CI pipelines, and as a Rust library (git-cliff-core) for embedding changelog generation into Rust projects. The library is published on crates.io and documented at docs.rs.
Integrates with any CI/CD pipeline on any Git host. Install the binary or pull the Docker image at orhunp/git-cliff to add changelog generation to your release workflow without platform-specific plugins or integrations.
Features
- Conventional Commits Parser
- Regex-Powered Commit Parsers
- Configurable Template System
- CLI Tool and Rust Library
- CI/CD Pipeline Integration
How to install
Install git-cliff from crates.io using the Cargo package manager.
cargo install git-cliffRecommended for this setup
Strengths
- Works with Any Git Host: Unlike release notes features tied to a specific Git hosting platform, git-cliff reads the local Git history directly and works with any Git repository regardless of where it is hosted. Teams using self-hosted Git servers or non-GitHub platforms do not lose any functionality.
- Apache-2.0 License: Licensed under Apache-2.0, git-cliff can be used freely in commercial projects and CI pipelines without licensing restrictions. No usage tiers, no API keys, and no rate limits on how many releases you generate.
- Actively Maintained Since 2021: Created in May 2021 with a last push in November 2026, git-cliff has 12,417 GitHub stars and 347 forks. The project runs a Discord server and Matrix channel for community support and was presented at RustLab 2023.
Trade-offs
- Requires Consistent Commit Message Format: Output quality scales with commit message discipline. Projects using the Conventional Commits parser get organized sections only when commits follow the feat:, fix:, chore:, and other type prefixes consistently. Teams with free-form commit history need to write custom regex parsers for each pattern or accept unstructured output for older entries.
- Cargo Install Requires a Rust Toolchain: The primary documented install path uses cargo install git-cliff, which requires a Rust toolchain. For teams not working in Rust, this adds a dependency. The Docker image at orhunp/git-cliff is the alternative, though it adds container overhead for simple changelog generation tasks.
Tech stack
FAQ
Yes, with custom configuration. Git Cliff supports regex-powered commit parsers defined in its config file. Write one or more regular expressions to match your commit message format and assign each match to a changelog section. Without any parser config and without Conventional Commits, commits appear ungrouped in the output.
The primary install path is via Cargo: run cargo install git-cliff after installing the Rust toolchain. A Docker image is available at hub.docker.com/r/orhunp/git-cliff for containerized environments. Full installation documentation is at git-cliff.org/docs/installation.
Git Cliff is licensed under Apache-2.0. You can use it freely in commercial projects, CI pipelines, and open source workflows without restriction. The Apache-2.0 license requires preserving copyright notices and the license file in distributed copies but does not require source disclosure.
Yes. The git-cliff-core crate is published on crates.io and documented at docs.rs. Rust projects can import it to run changelog generation programmatically. The CLI binary wraps the core library, so the library exposes the same parsing and templating capabilities available from the command line.
Git Cliff runs as a standard CLI binary and works with any CI/CD system that can install a binary or pull a Docker image. No dedicated CI plugin is required; teams commonly run it in a release workflow step triggered by a version tag push, generating the CHANGELOG.md before creating the release.