Skip to content

Instantly share code, notes, and snippets.

@njt1982
Created April 24, 2017 15:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save njt1982/81a23829052cc7a93b3dd5f079b8c273 to your computer and use it in GitHub Desktop.
Save njt1982/81a23829052cc7a93b3dd5f079b8c273 to your computer and use it in GitHub Desktop.
Git Log Since Lat Tag
#!/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