获取commitid
git rev-parse HEAD
通过commit获取 邮箱
git log --no-merges --pretty=format:\"%ae\" -1 " + commitid
通过commit获取 注释
git log --pretty=format:\"%s\" -1 " + commitid
通过commit获取 name
git log --pretty=format:\"%cn\" -1 " + commitid
通过commit获取 时间
git log --pretty=format:\"%ad\" -1 " + commitid