Autocompose changelog for git projects
This lists all changes since last tag:
changelog() {
tag=`git describe --tags --abbrev=0`
user=`git config user.name`
git log --no-merges $tag..HEAD --pretty='- %s (%an)' | sed "s/ [(]$user[)]//"
}
alias cl=changelog
Commit authors besides you are added in parentheses.
Written by Alexander Schepanovski
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#