Scroll to navigation

git-cliff(1) General Commands Manual git-cliff(1)

NAME

git-cliff - A highly customizable changelog generator ⛰️

SYNOPSIS

git-cliff [-h|--help] [-V|--version] [-v|--verbose]... [-i|--init] [-c|--config] [-w|--workdir] [-r|--repository] [--include-path] [--exclude-path] [--tag-pattern] [--with-commit] [--skip-commit] [-p|--prepend] [-o|--output] [-t|--tag] [--bump] [--bumped-version] [-b|--body] [-l|--latest] [--current] [-u|--unreleased] [--topo-order] [--no-exec] [-x|--context] [-s|--strip] [--sort] [--github-token] [--github-repo] [RANGE]

DESCRIPTION

A highly customizable changelog generator ⛰️

OPTIONS

Prints help information
Prints version information
Increases the logging verbosity
Writes the default configuration file to cliff.toml
Sets the configuration file
May also be specified with the GIT_CLIFF_CONFIG environment variable.
Sets the working directory
May also be specified with the GIT_CLIFF_WORKDIR environment variable.
Sets the git repository
May also be specified with the GIT_CLIFF_REPOSITORY environment variable.
Sets the path to include related commits
May also be specified with the GIT_CLIFF_INCLUDE_PATH environment variable.
Sets the path to exclude related commits
May also be specified with the GIT_CLIFF_EXCLUDE_PATH environment variable.
Sets the regex for matching git tags
May also be specified with the GIT_CLIFF_TAG_PATTERN environment variable.
Sets custom commit messages to include in the changelog
May also be specified with the GIT_CLIFF_WITH_COMMIT environment variable.
Sets commits that will be skipped in the changelog
May also be specified with the GIT_CLIFF_SKIP_COMMIT environment variable.
Prepends entries to the given changelog file
May also be specified with the GIT_CLIFF_PREPEND environment variable.
Writes output to the given file
May also be specified with the GIT_CLIFF_OUTPUT environment variable.
Sets the tag for the latest version
May also be specified with the GIT_CLIFF_TAG environment variable.
Bumps the version for unreleased changes
Prints bumped version for unreleased changes
Sets the template for the changelog body
May also be specified with the GIT_CLIFF_TEMPLATE environment variable.
Processes the commits starting from the latest tag
Processes the commits that belong to the current tag
Processes the commits that do not belong to a tag
Sorts the tags topologically
Disables the external command execution
Prints changelog context as JSON
Strips the given parts from the changelog

[possible values: header, footer, all]

Sets sorting of the commits inside sections

[possible values: oldest, newest]

Sets the GitHub API token
May also be specified with the GITHUB_TOKEN environment variable.
Sets the GitHub repository
May also be specified with the GITHUB_REPO environment variable.
[RANGE]
Sets the commit range to process

VERSION

v2.1.2

AUTHORS

git-cliff contributors <git-cliff@protonmail.com>

git-cliff 2.1.2