Skip to content

christophwitzko/git-head

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-head

CI

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