@jswork/next-git-branch
v1.0.0
Published
Get git branches infomation.
Downloads
7
Maintainers
Readme
next-git-branch
Get git branches infomation.
installation
npm install -S @jswork/next-git-branch
usage
import '@feizheng/next-git-branch';
nx.gitBranch()
/*
{
current: 'feature/page-reload',
all: [
'develop',
'feature/addContent',
'feature/page-reload',
'staging',
'origin/beta',
'origin/develop',
'origin/feature/addContent',
'origin/feature/contentLibrary',
'origin/feature/independentBiz',
'origin/feature/page-reload',
'origin/feature/pptPreview',
'origin/master',
'origin/staging'
],
locals: [ 'develop', 'feature/addContent', 'feature/page-relad', 'staging' ],
remotes: [
'beta',
'develop',
'feature/addContent',
'feature/contentLibrary',
'feature/independentBiz',
'feature/page-reload',
'feature/pptPreview',
'master',
'staging'
]
}
*/
license
Code released under the MIT license.