git-local-create

1.1.0 • Public • Published

git-local-create NPM version Build Status Dependency Status

perform git init, stupid but useful

Install

$ npm install --save git-local-create

Example

JavaScript

var gitLocalCreate = require('git-local-create');
 
gitLocalCreate(function(err, data){
  console.log(data) //=> true
});

Command Line reference

$ npm install --global git-local-create
$ git-local-create

Methods

var gitLocalCreate = require('git-local-create');
 
gitLocalCreate(function(err, data){
  console.log(data) //=> true
});

gitLocalCreate([path], cb)

Check if current folder is git folder or not

Run Test

npm test

Contribute or Report Issue

For bugs and feature requests, please create an issue.

License

MIT © Yashprit

/git-local-create/

    Package Sidebar

    Install

    npm i git-local-create

    Weekly Downloads

    3

    Version

    1.1.0

    License

    MIT

    Last publish

    Collaborators

    • yashprit