1.2.1 • Published 5 years ago

git-delete-branch v1.2.1

Weekly downloads
3
License
MIT
Repository
github
Last release
5 years ago

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

1.2.1

5 years ago

1.2.0

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago