Skip to content

Instantly share code, notes, and snippets.

@jgrana
Last active August 29, 2015 14:06
Show Gist options
  • Save jgrana/b9f0d4b3700f0eecc1a3 to your computer and use it in GitHub Desktop.
Save jgrana/b9f0d4b3700f0eecc1a3 to your computer and use it in GitHub Desktop.
Git Log From Last Tag As MarkDown
# First it will fetch the last tag ending in -release excluding the current commit in the search
# Markdown references github links
git log `git describe --tags --abbrev=0 --match "*-release" HEAD^`..HEAD --pretty=format:'<a href="http://github.com/UrbanCompass/mobile/commit/%H">%h</a> %s - __%an__ *%ad*<br />' --reverse --date=local >> RELEASENOTES.MD
@ltdowney
Copy link

ltdowney commented Sep 8, 2014

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