Created
May 31, 2017 14:57
-
-
Save residualmind/fa70badb4580e42a69fe36f302b99aae to your computer and use it in GitHub Desktop.
changelog
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
changelog() { | |
name=$(basename `git rev-parse --show-toplevel`) | |
lasttag=`git describe --tags --abbrev=0` | |
echo "$name - changes since $lasttag:\n" | |
git --no-pager log "$lasttag.." --pretty=format:' + %s' --reverse; | |
echo "\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment