Created
April 24, 2017 15:19
-
-
Save njt1982/81a23829052cc7a93b3dd5f079b8c273 to your computer and use it in GitHub Desktop.
Git Log Since Lat Tag
This file contains hidden or 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
#!/bin/bash | |
if [ -z "$1" ] | |
then | |
TAG=$(git describe --abbrev=0 --tags) | |
else | |
TAG="$1" | |
fi | |
if [ -z "$2" ] | |
then | |
END_TAG="HEAD" | |
else | |
END_TAG="$2" | |
fi | |
git log --pretty=format:'- %s :: %b' $TAG...$END_TAG | grep 'Merge pull' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment