An interactive cli tool to remove git branches.
$ npm install -g rm-branches
# 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-*
$ 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
MIT © EGOIST