git-delete-branch
v1.2.1
Published
🔌Git delete branch enhancement tooling
Downloads
15
Readme
git-delete-branch
🔌Git delete branch enhancement tooling
Please consider starring the project to show your ❤️ and support.
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
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- 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).