git-head

1.20.1 • Public • Published

git-head

Build Status

Install

$ npm install -g git-head

Example

var gitHead = require('git-head')
 
gitHead('/path/to/.git', function (err, hash) {
  if (err) return console.log(err)
  console.log('HEAD:', hash)
})

Licence

The MIT License (MIT)

Copyright © 2015 Christoph Witzko

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.20.1
    2,313
    • latest

Version History

Package Sidebar

Install

npm i git-head

Weekly Downloads

2,459

Version

1.20.1

License

MIT

Last publish

Collaborators

  • christophwitzko