sidekick-git-helpers
v1.0.1
Published
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
Downloads
4
Readme
sidekick-git-helpers
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));