public
Created

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 your releases.

  • Download Gist
zsh.rc
1 2
# 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"

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.