@jswork/next-git-branch

1.0.0 • Public • Published

next-git-branch

Get git branches infomation.

version license size download

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.

/@jswork/next-git-branch/

    Package Sidebar

    Install

    npm i @jswork/next-git-branch

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    6.5 kB

    Total Files

    5

    Last publish

    Collaborators

    • afeiship