Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 601 Bytes

README.md

File metadata and controls

24 lines (15 loc) · 601 Bytes

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));