Options (3)
-l, --latestbooleanGenerate a changelog from commits starting from the latest tag and print it to `stdout`
Example:
git cliff {{[-l|--latest]}}-u, --unreleasedbooleanGenerate a changelog from commits that do not belong to a tag
Example:
git cliff {{[-u|--unreleased]}}-i, --initbooleanWrite the default config file to `cliff.toml` in the current directory
Example:
git cliff {{[-i|--init]}}Examples (5)
Generate a changelog from all commits in a Git repository and save it to `CHANGELOG.md`
git cliff > CHANGELOG.mdGenerate a changelog from commits starting from the latest tag and print it to `stdout`
git cliff [-l|--latest]Generate a changelog from commits that belong to the current tag (use `git checkout` on a tag before this)
git cliff --currentGenerate a changelog from commits that do not belong to a tag
git cliff [-u|--unreleased]Write the default config file to `cliff.toml` in the current directory
git cliff [-i|--init]made by @shridhargupta | data from tldr-pages