0.0.20 • Published 3 years ago

git-branch-away v0.0.20

Weekly downloads
145
License
-
Repository
-
Last release
3 years ago

Git Branch Away

Quickly get branch information for your repository

Usage

const gitBranches = require('git-branch-away');
gitBranches.list(/* optional cwd */); // return {current:, other: all:} object.

More function you can use for more specific info

gitBranches.init(); // will go through the information. you need to call this on every checkout etc..
gitBranches.current(); // current branch
gitBranches.isClean();
gitBranches.other();
gitBranches.all();
gitBranches.root(); // gets the root of git repository
gitBranches.getDefaultPrBase();
0.0.20

3 years ago

0.0.17

3 years ago

0.0.18

3 years ago

0.0.19

3 years ago

0.0.16

6 years ago

0.0.15

6 years ago

0.0.14

6 years ago

0.0.13

6 years ago

0.0.12

6 years ago

0.0.11

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago