Skip to content

Instantly share code, notes, and snippets.

@egeste
Last active June 21, 2023 05:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save egeste/8a78b8fc1a1f7bc593528e6b4b0dccf7 to your computer and use it in GitHub Desktop.
Save egeste/8a78b8fc1a1f7bc593528e6b4b0dccf7 to your computer and use it in GitHub Desktop.
Generate a markdown formatted changelog from a git branch
git log \
-E --merges \
--grep='Merged PR [0-9]+: Release [0-9]+.[0-9]+.[0-9]+.*' \
--format='# %ad%n## %s%n```%n%b%n```%n' \
--date=format-local:'%A %B %d, %Y'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment