cli tool to remove merged branches
$ go get suzuki-shunsuke/git-rm-branch
$ git-rm-branch init
$ git-rm-branch run [--local] [--dry-run] [--quiet] [--config <config path>]
$ git-rm-branch help init
NAME:
git-rm-branch init - create a configuration file
USAGE:
git-rm-branch init [arguments...]
$ git-rm-branch help run
NAME:
git-rm-branch run - remove merged branches
USAGE:
git-rm-branch run [command options] [arguments...]
OPTIONS:
--config value The path of the configuration file
--dry-run don't remove branches but print commands to remove branches
--quiet don't print commands
--local remove only local branches
If the --config
option is not used,
this tool assumes that the configuration file .git-rm-branch.yml
is in the root directory of the git repository.
local:
protected:
- master
- develop
merged:
- upstream/master
remote:
origin:
protected:
- master
merged:
- upstream/master
upstream:
protected:
- master
merged:
- master
See CHANGELOG.md.