1.0.2 • Published 2 months ago

node-git-details v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

Node Git Info

npm version Build Status Coverage Status Dependencies Status

Node module that creates a git.properties file with information about the current commit. It is based on maven git commit id plugin for Java.

Usage

$ npm install -g node-git-info
$ node-git-info

It will save a file named ```git.properties```. git.properties file will be the current working directory of the Node.js process.

Example output:
```ini
git.commit.id.abbrev=42954d1
git.commit.user.email=user@email.com
git.commit.message.full=first commit
git.commit.id=42954d1fe6285fea65ba81ea39d71d5b75f9ade0
git.commit.message.short=first commit
git.commit.user.name=User Name
git.branch=master
git.commit.time=2016-11-20T11:48:42.000Z
1.0.2

2 months ago

1.0.1

2 months ago

1.0.0

2 months ago