| 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] [--config-url] [-w|--workdir] [-r|--repository] [--include-path] [--exclude-path] [--tag-pattern] [--with-commit] [--with-tag-message] [--skip-tags] [--ignore-tags] [--count-tags] [--skip-commit] [-p|--prepend] [-o|--output] [-t|--tag] [--bump] [--bumped-version] [-b|--body] [-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] [--use-native-tls] [--offline] [RANGE]
DESCRIPTION
A highly customizable changelog generator ⛰️
FLAGS
- -h, --help
- Prints help information
- -V, --version
- Prints version information
- -v, --verbose
- Increases the logging verbosity
- --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 to cliff.toml
- -c, --config <PATH> [default: cliff.toml]
- Sets the configuration file
- --config-url <URL>
- Sets the URL for the configuration file
- -w, --workdir <PATH>
- Sets the working directory
- -r, --repository <PATH>...
- Sets the git repository
- --include-path <PATTERN>...
- Sets the path to include related commits
- --exclude-path <PATTERN>...
- Sets the path to exclude related commits
- --tag-pattern <PATTERN>
- Sets the regex for matching git tags
- --with-commit <MSG>...
- Sets custom commit messages to include in the changelog
- --with-tag-message [<MSG>]
- Sets custom message for the latest release
- --skip-tags <PATTERN>
- Sets the tags to skip in the changelog
- --ignore-tags <PATTERN>
- Sets the tags to ignore in the changelog
- --count-tags <PATTERN>
- Sets the tags to count in the changelog
- --skip-commit <SHA1>...
- Sets commits that will be skipped in the changelog
- -p, --prepend <PATH>
- Prepends entries to the given changelog file
- -o, --output [<PATH>]
- Writes output to the given file
- -t, --tag <TAG>
- Sets the tag for the latest version
- --bump [<BUMP>]
- Bumps the version for unreleased changes. Optionally with specified version
- -b, --body <TEMPLATE>
- Sets the template for the changelog body
- --from-context <PATH>
- Generates changelog from a JSON context
- -s, --strip <PART>
- Strips the given parts from the changelog
[possible values: header, footer, all]
- --sort <SORT> [default: oldest]
- Sets sorting of the commits inside sections
[possible values: oldest, newest]
REMOTE OPTIONS
- --github-token <TOKEN>
- Sets the GitHub API token
- --github-repo <OWNER/REPO>
- Sets the GitHub repository
- --gitlab-token <TOKEN>
- Sets the GitLab API token
- --gitlab-repo <OWNER/REPO>
- Sets the GitLab repository
- --gitea-token <TOKEN>
- Sets the Gitea API token
- --gitea-repo <OWNER/REPO>
- Sets the Gitea repository
- --bitbucket-token <TOKEN>
- Sets the Bitbucket API token
- --bitbucket-repo <OWNER/REPO>
- Sets the Bitbucket repository
- --offline
- Disable network access for remote repositories
ARGS
- [RANGE]
- Sets the commit range to process
VERSION
v2.12.0
AUTHORS
git-cliff contributors <git-cliff@protonmail.com>
| git-cliff 2.12.0 |