1.6.0 • Published 5 years ago
node-git-utils v1.6.0
node-git-utils
Thank goodness for git. Just using git and exporting some handy functions for usage in node tools.
Install
$ npm install node-git-utils --save-dev
# or
$ yarn add node-git-utils -DDocumentation
Table of Contents
getCurrentSHA
getCurrentSHA
Parameters
optsObject an object of options passed to execa
Returns String the sha at HEAD
hasTags
hasTags
Parameters
optsObject an object of options passed to execa
Returns Boolean returns whether there are any git tags at all