perform git init, stupid but useful
$ npm install --save git-local-create
var gitLocalCreate = require('git-local-create');
gitLocalCreate(function(err, data){
console.log(data) //=> true
});
$ npm install --global git-local-create
$ git-local-create
var gitLocalCreate = require('git-local-create');
gitLocalCreate(function(err, data){
console.log(data) //=> true
});
Check if current folder is git folder or not
npm test
For bugs and feature requests, please create an issue.
MIT © Yashprit