安装tnpm install git-info-tiny运行测试tmake test用法从git返回当前项目信息。示例响应: { ttinySHA : 'e004ccf' , tSHA : 'e004ccf3a9a426ab80166d51d56e0c8c9414893c' , tcurrentBranch : 'master' , tlastCommitTime : '"2014-12-19 14:08:12 -0700"' , tcurrentUser : 'Dan Levy' , tsmallSHA : 'e004ccf3a9a426ab' , tlastCommitMessage : '"travis ci config added" ' , tlastCommitNumber : '5' , tlastCommitAuthor : '"Dan Levy"'