1.0.1 • Published 3 years ago
git-rev-head v1.0.1
git-rev-head
Get the current HEAD revision of a Git repo
npm install git-rev-head
Usage
const head = require('git-rev-head')
console.log(await head('./repo')) // prints deadbeef...
License
MIT
1.0.1
3 years ago