@sidekick/git-helpers
v1.2.0
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
15
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));