git-branch-parent
Get the parent (or source) branch of current branch from the git repository.
Install
Install with npm:
$ npm install --save git-branch-parent
Usage
const parent = ;
Optionally pass the cwd (current working directory) as the first argument.
Promise
Sync
console
Contributing
Contributors
License
Released under the MIT License.