Need private packages and team management tools?Check out npm Teams »

git-base-hash

0.3.0 • Public • Published

git-base-hash

git-base-hash detects tge parent branch.

Install

$ npm install --save git-base-hash

or global install

$ npm install -g git-base-hash
$ git-base-hash -h

Usage

import { detectBaseHash } from 'git-base-hash';
 
console.log(detectBaseHash('path/to/repo'));
console.log(detectBaseHash('path/to/repo', 'foo-branch'));

Keywords

none

Install

npm i git-base-hash

DownloadsWeekly Downloads

1

Version

0.3.0

License

MIT

Last publish

Collaborators

  • avatar