git-delete-branch

1.2.1 • Public • Published

git-delete-branch

🔌Git delete branch enhancement tooling

Please consider starring the project to show your ❤️ and support.

NPM version NPM download CircleCI License donate

Features

  • Support delete matched branches. e.g.feat-*

Prerequisites

  • git
  • node.js

Usage

One-off usage via npx:

$ npx git-delete-branch [...branches]
 
# Example 
$ npx git-delete-branch dev test-*

Using it globally:

$ npm i -g git-dlete-branch
 
# Or using yarn 
$ yarn global add git-delete-branch
 
$ git-db [...branches]
$ git-delete-branch [...branches]
 
# Or using git external commands 
$ git db [...branches]
$ git delete-branch [...branches]

CLI

git-delete-branch [...branches] [options]

branches

Delete branches

options

-r, --remotes

Delete remotes branches

--scope <scope>

  • Default: origin
  • When: -r, --remotes

Branches scope name

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

git-delete-branch © evillt, Released under the MIT License.

Authored and maintained by EVILLT with help from contributors (list).

evila.me · GitHub @evillt · Twitter @evillt

Readme

Keywords

none

Package Sidebar

Install

npm i git-delete-branch

Weekly Downloads

4

Version

1.2.1

License

MIT

Unpacked Size

7.58 kB

Total Files

7

Last publish

Collaborators

  • evila