feature(shell) add log

This commit is contained in:
coderaiser 2013-08-06 14:10:22 +00:00
parent e10419afb6
commit 17eb392562

9
shell/log.sh Executable file
View file

@ -0,0 +1,9 @@
#!/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