🔌Git delete branch enhancement tooling
Please consider starring the project to show your ❤️ and support.
- Support delete matched branches. e.g.
feat-*
- git
- node.js
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]
git-delete-branch [...branches] [options]
Delete branches
Delete remotes branches
- Default:
origin
- When:
-r, --remotes
Branches scope name
- 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
git-delete-branch © evillt, Released under the MIT License.
Authored and maintained by EVILLT with help from contributors (list).