Write meaningful messages when you commit, and then it is easy to produce a release note based on these messages later.

  1. Print by date range

    $ git log --since="1 day ago" --pretty=format:"%h - %s (%cd)" --date=short
    
  2. Print by revision range

    $ git log SHA_FROM..SHA_TO --pretty=format:"%h - %s (%cd)" --date=short
    

Sample outputs

fea7b1a - update csp (2024-06-25)
c24743b - fix logout (2024-06-24)