Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
glab(1)								       glab(1)

NAME
       glab-changelog-generate - Generate a changelog for the current project.

SYNOPSIS
       glab changelog generate [flags]

DESCRIPTION
       Generates  a  changelog	from the commits in your project's Git reposi-
       tory. If	you do not pass	--version, glab	determines the version by run-
       ning git	describe against your local tags.

       By  default,  GitLab  reads  the	 changelog  configuration  from	 .git-
       lab/changelog_config.yml	 in the	project. To use	a different file, pass
       --config-file.

       To limit	the range of commits, use --from and --to.  glab excludes  the
       --from  commit  from  the  range	and includes the --to commit. The --to
       commit defaults to HEAD of the project's	default	branch.

OPTIONS
       --config-file=""	     Path to the changelog configuration file  in  the
       project's Git repository. Defaults to '.gitlab/changelog_config.yml'.

       --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'.

       -v,  --version=""      Version to generate the changelog	for. Must fol-
       low semantic versioning.	Defaults to the	version	detected by  'git  de-
       scribe'.

OPTIONS	INHERITED FROM PARENT COMMANDS
       -h, --help[=false]      Show help for this command.

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

SEE ALSO
       glab-changelog(1)

Auto generated by spf13/cobra	   Jun 2026			       glab(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=glab-changelog-generate&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help