Created
December 10, 2018 01:10
-
-
Save e-sung/9e5fd1ea02eb8ff832967fd5627c897a to your computer and use it in GitHub Desktop.
Generate Changelog between Two branches
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
doesnt work
a usage example would help