rm-branches

1.1.3 • Public • Published

rm-branches NPM version NPM downloads Build Status

An interactive cli tool to remove git branches.

preview

Install

$ npm install -g rm-branches

Usage

# follow the output instructions to remove branches
# master branch is excluded by default
$ rm-branches
Are you sure to delete branch fix/typo? [N/y]

# use custom patterns to choose branches
# in minimatch syntax
$ rm-branches fix/* patch-*

Help

$ rm-branches -h

  Usage:

    rm-branches [patterns]

    -r/--remote:     Remove remote branch as well
	-s/--stream:     Set up-stream to delete remote branch
    -v/--version:    Print version
    -h/--help:       Print help

License

MIT © EGOIST

Readme

Keywords

Package Sidebar

Install

npm i rm-branches

Weekly Downloads

0

Version

1.1.3

License

MIT

Last publish

Collaborators

  • kchan