adding a format for git-contrib

This commit is contained in:
James Zhu 2020-11-08 20:21:32 +08:00
parent 171d06965e
commit 8490a50304

View file

@ -4,4 +4,4 @@ user="$*"
test -z "$user" && echo "user name required." 1>&2 && exit 1
git shortlog --author="$user"
git shortlog --format=format:"%h %s" --author="$user"