Changelog between two tags

Generate a changelog between two Git tags with git log and a custom pretty format.

1 min read Updated

git log can produce a changelog for a release range: this command lists the commits between two tags, oldest first, in a bullet-friendly format. The command is below.

Source: https://coderwall.com/p/5cv5lg/generate-your-changelogs-with-git-log

changelog.sh

bash
git log v2.0.0-beta.5...v2.0.0 --pretty=format:'- %s (%H)' --reverse

Search articles

Type to filter articles. Use the arrow keys to move through results and Enter to open one. Press Escape to close.