cloudcmd/shell/log.sh
2013-12-09 09:07:17 +00:00

8 lines
195 B
Bash
Executable file

#!/bin/sh
if test -z $1
then
echo "log.sh <tag>"
else
git log $1..HEAD --pretty=format:"- %s" --grep fix
git log $1..HEAD --pretty=format:"- %s" --grep feature
fi