{"id":15874413,"url":"https://github.com/suzuki-shunsuke/git-rm-branch","last_synced_at":"2025-10-17T17:30:51.560Z","repository":{"id":37026794,"uuid":"105376806","full_name":"suzuki-shunsuke/git-rm-branch","owner":"suzuki-shunsuke","description":"cli tool to remove merged branches","archived":false,"fork":false,"pushed_at":"2022-11-20T18:58:38.000Z","size":165,"stargazers_count":1,"open_issues_count":23,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-21T03:18:46.775Z","etag":null,"topics":["cli","git","oss"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suzuki-shunsuke.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-30T14:49:06.000Z","updated_at":"2022-02-09T06:34:33.000Z","dependencies_parsed_at":"2022-09-23T19:00:12.869Z","dependency_job_id":null,"html_url":"https://github.com/suzuki-shunsuke/git-rm-branch","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suzuki-shunsuke%2Fgit-rm-branch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suzuki-shunsuke%2Fgit-rm-branch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suzuki-shunsuke%2Fgit-rm-branch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suzuki-shunsuke%2Fgit-rm-branch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suzuki-shunsuke","download_url":"https://codeload.github.com/suzuki-shunsuke/git-rm-branch/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219869649,"owners_count":16555446,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","git","oss"],"created_at":"2024-10-06T01:22:09.576Z","updated_at":"2025-10-17T17:30:46.301Z","avatar_url":"https://github.com/suzuki-shunsuke.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-rm-branch\n\n[![CircleCI](https://circleci.com/gh/suzuki-shunsuke/git-rm-branch.svg?style=svg)](https://circleci.com/gh/suzuki-shunsuke/git-rm-branch)\n[![codecov](https://codecov.io/gh/suzuki-shunsuke/git-rm-branch/branch/master/graph/badge.svg)](https://codecov.io/gh/suzuki-shunsuke/git-rm-branch)\n[![Go Report Card](https://goreportcard.com/badge/github.com/suzuki-shunsuke/git-rm-branch)](https://goreportcard.com/report/github.com/suzuki-shunsuke/git-rm-branch)\n[![GitHub last commit](https://img.shields.io/github/last-commit/suzuki-shunsuke/git-rm-branch.svg)](https://github.com/suzuki-shunsuke/git-rm-branch)\n[![GitHub tag](https://img.shields.io/github/tag/suzuki-shunsuke/git-rm-branch.svg)](https://github.com/suzuki-shunsuke/git-rm-branch/releases)\n[![License](http://img.shields.io/badge/license-mit-blue.svg?style=flat-square)](https://raw.githubusercontent.com/suzuki-shunsuke/git-rm-branch/master/LICENSE)\n\ncli tool to remove merged branches\n\n## Install\n\n```\n$ go get suzuki-shunsuke/git-rm-branch\n```\n\n## Usage\n\n```\n$ git-rm-branch init\n$ git-rm-branch run [--local] [--dry-run] [--quiet] [--config \u003cconfig path\u003e]\n```\n\n### init\n\n```\n$ git-rm-branch help init\nNAME:\n   git-rm-branch init - create a configuration file\n\nUSAGE:\n   git-rm-branch init [arguments...]\n```\n\n### run\n\n```\n$ git-rm-branch help run\nNAME:\n   git-rm-branch run - remove merged branches\n\nUSAGE:\n   git-rm-branch run [command options] [arguments...]\n\nOPTIONS:\n   --config value  The path of the configuration file\n   --dry-run       don't remove branches but print commands to remove branches\n   --quiet         don't print commands\n   --local         remove only local branches\n```\n\n## Configuration file location\n\nIf the `--config` option is not used,\nthis tool assumes that the configuration file `.git-rm-branch.yml` is in the root directory of the git repository.\n\n## The example of the configuration file\n\n```yaml\nlocal:\n  protected:\n    - master\n    - develop\n  merged:\n    - upstream/master\nremote:\n  origin:\n    protected:\n      - master\n    merged:\n      - upstream/master\n  upstream:\n    protected:\n      - master\n    merged:\n      - master\n```\n\n## Change Log\n\nSee [CHANGELOG.md](CHANGELOG.md).\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuzuki-shunsuke%2Fgit-rm-branch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuzuki-shunsuke%2Fgit-rm-branch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuzuki-shunsuke%2Fgit-rm-branch/lists"}