glab(1)

πŸ’… glab(1) β€” the manual page bestie

okay so this is the man page for glab-changelog-generate, straight out of the glab manual (that's the glab(1) manual name, if you were wondering πŸŽ€). it generates a changelog for the current project and honestly it's giving "let the CLI do the boring part" energy. let's go ✨


✨ NAME ✨

glab-changelog-generate β€” Generate a changelog for the current project. periodt πŸ’…

🌸 SYNOPSIS 🌸

glab changelog generate [flags]

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: this command generates a changelog from the commits in your project's Git repository. iconic. πŸ”₯

if you do not pass --version, glab figures out the version by running git describe against your local tags. no cap, it just asks your tags. πŸ‘‘

by default, GitLab reads the changelog configuration from .gitlab/changelog_config.yml in the project. want a different file? pass --config-file. easy. 🫢

want to limit the range of commits? that's what --from and --to are for. heads up though: glab excludes the --from commit from the range and includes the --to commit. and --to defaults to HEAD of the project's default branch, in case you were gonna ask. 😌

πŸ’– OPTIONS πŸ’–

  • --config-file="" β€” path to the changelog configuration file in the project's Git repository. defaults to .gitlab/changelog_config.yml. lowkey the most "keep your config tidy" option ever πŸŽ€
  • --date="" β€” date and time of the release, in ISO 8601 format (2016-03-11T03:45:40Z). defaults to the current time. ⏰
  • --from="" β€” start of the range of commits to use when generating the changelog, as a SHA. this commit is not included in the range. πŸ™ˆ
  • --to="" β€” end of the range of commits to use when generating the changelog, as a SHA. this commit is included in the range. defaults to the HEAD of the project's default branch. 🏁
  • --trailer="" β€” the Git trailer to use to include commits. defaults to 'Changelog'. main character trailer fr fr 🎬
  • -v, --version="" β€” version to generate the changelog for. must follow semantic versioning. defaults to the version detected by git describe. semver girlies rise πŸ’œ

🧚 OPTIONS INHERITED FROM PARENT COMMANDS 🧚

  • -h, --help[=false] β€” show help for this command. when in doubt, -h it out πŸ”

🌈 EXAMPLE 🌈

# Generate a changelog for the version detected by 'git describe'
glab changelog generate

# Generate a changelog for a specific version
glab changelog generate --version 1.2.0

# Generate a changelog for commits between two SHAs
glab changelog generate --from abc123 --to def456

look at that. three little examples, all slaying in their own way ✨

πŸ‘‘ SEE ALSO πŸ‘‘


ok that's the whole page, nothing skipped, every flag accounted for πŸ’€ don't come for me, come for your changelog πŸ“

and that's a wrap bestie β€” this page was auto generated by spf13/cobra, dated Nov 2026, living its little life as part of the glab(1) manual. mwah πŸ’‹πŸŒΈ

πŸ“¦ where this page comes from