git-head
finds the hash of the HEAD reference
Last updated 11 years ago by christophwitzko .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install git-head 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.20.1                                ...           latest (9 years ago)

24 Versions

  • 1.20.1                                ...           9 years ago
  • 1.20.0                                ...           9 years ago
  • 1.19.0                                ...           9 years ago
  • 1.18.0                                ...           9 years ago
  • 1.17.0                                ...           9 years ago
  • 1.16.0                                ...           9 years ago
  • 1.15.0                                ...           9 years ago
  • 1.14.0                                ...           10 years ago
  • 1.13.0                                ...           10 years ago
  • 1.12.0                                ...           10 years ago
  • 1.11.0                                ...           10 years ago
  • 1.10.0                                ...           10 years ago
  • 1.9.0                                ...           10 years ago
  • 1.8.0                                ...           10 years ago
  • 1.7.0                                ...           10 years ago
  • 1.6.0                                ...           10 years ago
  • 1.5.0                                ...           11 years ago
  • 1.4.0                                ...           11 years ago
  • 1.3.0                                ...           11 years ago
  • 1.2.1                                ...           11 years ago
  • 1.2.0                                ...           11 years ago
  • 1.1.0                                ...           11 years ago
  • 1.0.1                                ...           11 years ago
  • 1.0.0                                ...           11 years ago
Maintainers (1)
Downloads
Today 0
This Week 5
This Month 17
Last Day 0
Last Week 12
Last Month 1
Dependencies (1)
Dev Dependencies (4)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |