git-head-sha

1.0.1 • Public • Published

gitsha

Read git SHA1 value of a repository's HEAD revision

使用

const gitSha = require('git-head-sha');

// length 为截取字符串长度(从字符串首部开始截取)
gitSha({
    length: 7
});

Readme

Keywords

Package Sidebar

Install

npm i git-head-sha

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

2.52 kB

Total Files

5

Last publish

Collaborators

  • doudounannan