Merge pull request #890 from zhujian0805/master

adding a format for git-contrib
This commit is contained in:
罗泽轩 2020-11-08 22:25:30 +08:00 committed by GitHub
commit ad8c77bfa3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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"