Skip to content

🔌Git delete branch enhancement tooling

License

Notifications You must be signed in to change notification settings

2nthony/git-delete-branch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6416374 · Jun 14, 2019

History

22 Commits
Jun 11, 2019
Jun 11, 2019
Jun 14, 2019
Jun 14, 2019
Jun 11, 2019
Jun 11, 2019
Jun 11, 2019
Jun 11, 2019
Jun 11, 2019
Jun 14, 2019
Jun 11, 2019
Jun 14, 2019
Jun 14, 2019
Jun 12, 2019
Jun 11, 2019

Repository files navigation

git-delete-branch

🔌Tooling for delete git branches

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-*

Demo

Prerequisites

  • git
  • node.js

Install

yarn global add git-delete-branch

Usage

Basically:

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