Created
December 27, 2019 09:12
-
-
Save osallou/7bd317aa81783d5543f193e58d01dec1 to your computer and use it in GitHub Desktop.
Generate changelog from git
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
Put a #changelog tag in commit message and it will be selected by next cmd (from last tag) | |
Best to prefix commit by kind of modificiation, [feature], [fix] | |
git log $(git describe --tags --abbrev=0)..HEAD --pretty=format:'* [https://gitlab.inria.fr/osallou/logol2-client/commit/%H](view commit) %s' --reverse | grep "#changelog" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment