1.2.0 • Published 8 years ago

@sidekick/git-helpers v1.2.0

Weekly downloads
10
License
MIT
Repository
github
Last release
8 years ago

sidekick-git-helpers

Build Status

git helpers that work with the git CLI. Probably only useful if you've got the same constraints as SK: x-platform without native deps.

Promise based API;

Installation

npm install --save sidekick-git-helpers

Usage

var helpers = require("sidekick-git-helpers");

helpers.findRootGitRepo(process.cwd())
.then((r) => console.log(`the enclosing git repo is: ${r}`))
.catch((e) => console.error(e));