git info tiny 使用git返回各种项目详细信息的NodeJS模块
安装 tnpm install git-info-tiny
运行测试 tmake test
用法: 从 git 返回当前项目信息。示例响应:
-
tinySHA:
e004ccf
-
SHA:
e004ccf3a9a426ab80166d51d56e0c8c9414893c
-
currentBranch:
master
-
lastCommitTime:
2014-12-19 14:08:12 -0700
-
currentUser:
Dan Levy
-
smallSHA:
e004ccf3a9a426ab
-
lastCommitMessage:
travis ci config added
-
lastCommitNumber:
5
-
lastCommitAuthor:
Dan Levy
用户评论