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

Readme

Keywords

none

Package Sidebar

Install

npm i git-base-hash

Weekly Downloads

9

Version

0.3.0

License

MIT

Last publish

Collaborators

  • bokuweb