@feizheng/git-info
v1.0.0
Published
Get git infomation.
Readme
git-info
Get git infomation.
usage:
var branch = require('@feizheng/git-info').branch;
//exec('git branch | grep \\\*')
//branch();get current brach:
# git rev-parse --abbrev-ref HEAD
# git branch | grep '*'resources:
- https://github.com/pirelenito/git-revision-webpack-plugin
