{"id":51583547,"url":"https://github.com/gay00ung/git-branch-sweeper","last_synced_at":"2026-07-11T08:04:02.164Z","repository":{"id":332688048,"uuid":"1134638143","full_name":"gay00ung/git-branch-sweeper","owner":"gay00ung","description":"Clean up merged local \u0026 remote feature branches safely (dry-run by default).","archived":false,"fork":false,"pushed_at":"2026-01-15T02:28:32.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-15T08:34:53.461Z","etag":null,"topics":["automation","bash","branch-cleanup","branch-management","git","shell-script"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/gay00ung.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-15T01:47:58.000Z","updated_at":"2026-01-15T02:30:48.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gay00ung/git-branch-sweeper","commit_stats":null,"previous_names":["gay00ung/git-branch-sweeper"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/gay00ung/git-branch-sweeper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gay00ung%2Fgit-branch-sweeper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gay00ung%2Fgit-branch-sweeper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gay00ung%2Fgit-branch-sweeper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gay00ung%2Fgit-branch-sweeper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gay00ung","download_url":"https://codeload.github.com/gay00ung/git-branch-sweeper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gay00ung%2Fgit-branch-sweeper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35355127,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-11T02:00:05.354Z","response_time":104,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["automation","bash","branch-cleanup","branch-management","git","shell-script"],"created_at":"2026-07-11T08:04:01.529Z","updated_at":"2026-07-11T08:04:02.159Z","avatar_url":"https://github.com/gay00ung.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-branch-sweeper\n\nSafely prune merged branches (local + remote). Dry-run by default.\n\n## Install\nDownload `git-branch-sweeper.sh` and make it executable:\n\n```bash\nchmod +x git-branch-sweeper.sh\n````\n\n## Usage\n\nDry-run:\n\n```bash\n./git-branch-sweeper.sh\n```\n\nApply deletions:\n\n```bash\n./git-branch-sweeper.sh --apply\n```\n\nChange pattern / bases:\n\n```bash\n./git-branch-sweeper.sh --pattern \"feature/*\" --base main --base dev\n```\n\nRemote name:\n\n```bash\n./git-branch-sweeper.sh --remote upstream\n```\n\nLocal only / Remote only:\n\n```bash\n./git-branch-sweeper.sh --local-only\n./git-branch-sweeper.sh --remote-only\n```\n\n## Notes\n\n* `--pattern` is a bash glob, not a regex.\n* Remote symbolic refs like `origin/HEAD -\u003e origin/main` are ignored.\n* Protected branches are never deleted.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgay00ung%2Fgit-branch-sweeper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgay00ung%2Fgit-branch-sweeper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgay00ung%2Fgit-branch-sweeper/lists"}