Skip to content

Instantly share code, notes, and snippets.

@e-sung
Created December 10, 2018 01:10
Show Gist options
  • Save e-sung/9e5fd1ea02eb8ff832967fd5627c897a to your computer and use it in GitHub Desktop.
Save e-sung/9e5fd1ea02eb8ff832967fd5627c897a to your computer and use it in GitHub Desktop.
Generate Changelog between Two branches
#! /bin/bash
# Generate Log with commits with certain prefixes ( `-`, `*`, `.`)
git log $1...$2 --no-merges --format="%Cgreen## %s%n%Creset%b" --grep "- " --grep "\. " --grep "\* " >> changelog.md
@ucefkh
Copy link

ucefkh commented May 25, 2022

doesnt work

a usage example would help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment