Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 572 Bytes

create-release-notes-using-git.md

File metadata and controls

26 lines (16 loc) · 572 Bytes

Create Release Notes Using Git

Category: Git

You can summarise commits on a branch using the git shortlog command which can be used to help prepare release notes.

Commits will be grouped by author and the first line of each commit message will be displayed.

Show all commits on a branch:

git shortlog

Show commits after a specific date:

git shortlog --after="1 Nov 2022"

Show commits using a date range, piping the output to a text file:

git shortlog --after="1 Oct 2022" --before "1 Nov 2022" > commit-history.txt