Skip to content

Instantly share code, notes, and snippets.

@orkoden
Last active December 21, 2015 12:29
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orkoden/6306160 to your computer and use it in GitHub Desktop.
Save orkoden/6306160 to your computer and use it in GitHub Desktop.
easy release notes with git.gets all commit messages since the last tag. useful when preparing release notes.cut is there to get rid of the commit hashes, sort is there because then all commits starting with "fix: bug 9001" or "change: will be next to each other.put into .bashrc, .profile, .zshrc depending on your shell.only works if you tag you…
# replace mate with editor of your choice
alias releasenotes="git log --oneline --no-merges `git describe --abbrev=0 --tags`..HEAD | cut -c 9- | sort | mate"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment