Branch delete tool made by Golang
GOMI is a tool for deleting merged branches in local git repository.
When you write code with git or github flow, there are many branches that are already merged into master / develop branch.
You can delete branches merged into your current branch only with
at your project.
How to install
You can install via homebrew
brew tap jiko21/gomi
brew install gomi
branch delete block
You can specify the branches that you don’t want to delete.
You can specify them with
.gomiignore, on your project root.
If you don’t use
.gomiignore, then default rule will be adopted;
release cannot be deleted by gomi.
The example of
.gomiignore is shown below.
master do-not-delete-branch master-xxx # this is comment out # this is ignored as gomiignore file
you can generate
.gomiignore file with command shown below.
$ gomi init