Skip to content

Repository files navigation

Simple Git With Bin

Fork from simple-git project. Support to indicate the Git bin path.

Installation

npm install simple-git-with-bin

Dependencies

no

Usage

Include into your app using:

constgitWithBin=require('simple-git-with-bin')constgit=gitWithBin(workingDirPath,{git: binPath})git.status((err,status)=>{if(!err){console.log(status)}})

set workingDirPath to empty string, defaulting to the current directory.

constgitWithBin=require('simple-git-with-bin')constgit=gitWithBin('',{git: binPath})git.status((err,status)=>{if(!err){console.log(status)}})

For more info, refer to the simple-git documentation

About

A light weight interface for running git commands in any node.js application. Integrate with Git bin.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages