git-cliff(1)
β¨ git-cliff(1) β¨
okay so bestie, welcome to the git-cliff manual page π this is the General Commands Manual entry, and honestly? it's giving main character energy for your changelogs. buckle up π
πΈ NAME πΈ
git-cliff β a highly customizable changelog generator β°οΈ
π¦ SYNOPSIS π¦
git-cliff [-h|--help] [-V|--version] [-v|--verbose]... [-i|--init]
[--templates-dir] [--list-templates] [-c|--config] [--config-url]
[-w|--workdir] [-r|--repository] [--include-path] [--exclude-path]
[--tag-pattern] [--with-commit] [--with-tag-message] [--skip-tags]
[--ignore-tags] [--count-tags] [--limit-tags] [--skip-commit]
[-p|--prepend] [-o|--output] [-t|--tag] [--bump] [--bumped-version]
[-b|--body] [--body-file] [-l|--latest] [--current] [-u|--unreleased]
[--topo-order] [--use-branch-tags] [--no-exec] [-x|--context]
[--from-context] [-s|--strip] [--sort] [--github-token] [--github-repo]
[--gitlab-token] [--gitlab-repo] [--gitea-token] [--gitea-repo]
[--bitbucket-token] [--bitbucket-repo] [--http-timeout]
[--use-native-tls] [--offline] [RANGE]
like, that's a lot of brackets, i know π but every single one of them is doing something, i promise.
π DESCRIPTION π
A highly customizable changelog generator β°οΈ β that's the whole pitch, no cap. it takes your git history and turns it into a changelog that actually slaps π₯
β FLAGS β
-h,--helpβ prints help information π«Ά-V,--versionβ prints version information-v,--verboseβ increases the logging verbosity (yes bestie, it's stackable β you can pass it more than once for extra chatter) π--list-templatesβ prints the names of the available templates (built-in and user-defined) π--bumped-versionβ prints bumped version for unreleased changes-l,--latestβ processes the commits starting from the latest tag--currentβ processes the commits that belong to the current tag-u,--unreleasedβ processes the commits that do not belong to a tag--topo-orderβ sorts the tags topologically--use-branch-tagsβ include only the tags that belong to the current branch πΏ--no-execβ disables the external command execution π«-x,--contextβ prints changelog context as JSON--use-native-tlsβ load TLS certificates from the native certificate store π
π OPTIONS π
-i,--init [<CONFIG>]β writes the default configuration file tocliff.tomlβ¨--templates-dir <PATH>β sets the directory to look up user-defined templates for--init. a user-defined template overrides a built-in template of the same name. may also be specified with theGIT_CLIFF_TEMPLATES_DIRenvironment variable.-c,--config <PATH>β sets the configuration file. when omitted, the configuration is discovered automatically (a projectcliff.toml/.cliff.toml/.config/cliff.toml, then the user configuration directory), falling back to the built-in default. may also be specified with theGIT_CLIFF_CONFIGenvironment variable. π§--config-url <URL>β sets the URL for the configuration file. may also be specified with theGIT_CLIFF_CONFIG_URLenvironment variable.-w,--workdir <PATH>β sets the working directory. may also be specified with theGIT_CLIFF_WORKDIRenvironment variable.-r,--repository <PATH>...β sets the git repository (yep, the...means you can stack it π). may also be specified with theGIT_CLIFF_REPOSITORYenvironment variable.--include-path <PATTERN>β sets the path to include related commits. may also be specified with theGIT_CLIFF_INCLUDE_PATHenvironment variable.--exclude-path <PATTERN>β sets the path to exclude related commits. may also be specified with theGIT_CLIFF_EXCLUDE_PATHenvironment variable.--tag-pattern <PATTERN>β sets the regex for matching git tags. may also be specified with theGIT_CLIFF_TAG_PATTERNenvironment variable.--with-commit <MSG>β sets custom commit messages to include in the changelog. may also be specified with theGIT_CLIFF_WITH_COMMITenvironment variable.--with-tag-message [<MSG>]β sets custom message for the latest release. may also be specified with theGIT_CLIFF_WITH_TAG_MESSAGEenvironment variable.--skip-tags <PATTERN>β sets the tags to skip in the changelog. may also be specified with theGIT_CLIFF_SKIP_TAGSenvironment variable.--ignore-tags <PATTERN>β sets the tags to ignore in the changelog. may also be specified with theGIT_CLIFF_IGNORE_TAGSenvironment variable.--count-tags <PATTERN>β sets the tags to count in the changelog. may also be specified with theGIT_CLIFF_COUNT_TAGSenvironment variable.--limit-tags <N>β limits the number of tags to process. may also be specified with theGIT_CLIFF_LIMIT_TAGSenvironment variable.--skip-commit <SHA1>β sets commits that will be skipped in the changelog. may also be specified with theGIT_CLIFF_SKIP_COMMITenvironment variable.-p,--prepend [<PATH>]β prepends entries to the given changelog file. may also be specified with theGIT_CLIFF_PREPENDenvironment variable.-o,--output [<PATH>]β writes output to the given file. may also be specified with theGIT_CLIFF_OUTPUTenvironment variable.-t,--tag <TAG>β sets the tag for the latest version. may also be specified with theGIT_CLIFF_TAGenvironment variable.--bump [<BUMP>]β bumps the version for unreleased changes. optionally with specified version π₯-b,--body <TEMPLATE>β sets the template for the changelog body. may also be specified with theGIT_CLIFF_TEMPLATEenvironment variable.--body-file <PATH>β reads the template for the changelog body from a file π--from-context <PATH>β generates changelog from a JSON context. may also be specified with theGIT_CLIFF_CONTEXTenvironment variable.-s,--strip <PART>β strips the given parts from the changelog. possible values are:headerfooterall
--sort <SORT>β sets sorting of the commits inside sections. default:oldest. possible values are:oldestnewest
π REMOTE OPTIONS π
--github-token <TOKEN>β sets the GitHub API token. may also be specified with theGITHUB_TOKENenvironment variable.--github-repo <OWNER/REPO>β sets the GitHub repository. may also be specified with theGITHUB_REPOenvironment variable.--gitlab-token <TOKEN>β sets the GitLab API token. may also be specified with theGITLAB_TOKENenvironment variable.--gitlab-repo <OWNER/REPO>β sets the GitLab repository. may also be specified with theGITLAB_REPOenvironment variable.--gitea-token <TOKEN>β sets the Gitea API token. may also be specified with theGITEA_TOKENenvironment variable.--gitea-repo <OWNER/REPO>β sets the Gitea repository. may also be specified with theGITEA_REPOenvironment variable.--bitbucket-token <TOKEN>β sets the Bitbucket API token. may also be specified with theBITBUCKET_TOKENenvironment variable.--bitbucket-repo <OWNER/REPO>β sets the Bitbucket repository. may also be specified with theBITBUCKET_REPOenvironment variable.--http-timeout <SECS>β sets the HTTP timeout for remote metadata requests in seconds β±οΈ may also be specified with theGIT_CLIFF_HTTP_TIMEOUTenvironment variable.--offlineβ disable network access for remote repositories. may also be specified with theGIT_CLIFF_OFFLINEenvironment variable.
bestie this whole section is about remote metadata, so if you're offline (like, literally on a plane π«) the --offline flag is your bestie too.
π ARGS π
[RANGE]β sets the commit range to process
π VERSION π
v2.14.2
π AUTHORS π
git-cliff contributors <git-cliff@protonmail.com>
and that's the whole page, periodt π this was git-cliff 2.14.2 β that's the source/version and date wrapped up in a cute little bow for you, bestie ππ«Ά now go generate some iconic changelogs β¨
π¦ where this page comes from
- arch rolling: git-cliff 2.14.2-1 Β· MIT AND Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms