-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
61 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,44 @@ | ||
# Gomi | ||
Branch delete tool made by golang | ||
# GOMI | ||
Branch delete tool made by Golang | ||
## About | ||
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 | ||
|
||
```bash | ||
gomi | ||
``` | ||
|
||
at your project. | ||
## How to install | ||
You can install via homebrew | ||
|
||
```bash | ||
brew tap jiko21/gomi | ||
``` | ||
|
||
then, | ||
|
||
```bash | ||
brew install gomi | ||
``` | ||
|
||
## Features | ||
|
||
### 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; `master`, `develop`, `release` cannot be deleted by gomi. | ||
|
||
The example of `.gomiignore` is shown below. | ||
|
||
``` | ||
master | ||
do-not-delete-branch | ||
master-xxx | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters