cloudcmd/shell/log.sh
2013-08-06 14:10:22 +00:00

9 lines
No EOL
258 B
Bash
Executable file

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