{"id":28978206,"url":"https://github.com/z20240/rebase-branches","last_synced_at":"2026-05-18T04:11:56.719Z","repository":{"id":42928502,"uuid":"241315643","full_name":"z20240/rebase-branches","owner":"z20240","description":null,"archived":false,"fork":false,"pushed_at":"2023-01-06T20:13:39.000Z","size":142,"stargazers_count":0,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T09:06:25.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/z20240.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-18T09:00:59.000Z","updated_at":"2021-11-29T03:55:27.000Z","dependencies_parsed_at":"2023-02-06T08:31:04.161Z","dependency_job_id":null,"html_url":"https://github.com/z20240/rebase-branches","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/z20240/rebase-branches","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z20240%2Frebase-branches","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z20240%2Frebase-branches/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z20240%2Frebase-branches/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z20240%2Frebase-branches/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/z20240","download_url":"https://codeload.github.com/z20240/rebase-branches/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/z20240%2Frebase-branches/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006757,"owners_count":26084176,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"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":[],"created_at":"2025-06-24T15:11:41.013Z","updated_at":"2025-10-11T09:06:29.418Z","avatar_url":"https://github.com/z20240.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rebase-branches\n\n![](https://z20240.github.io/gallary/rebase-branches.jpg)\n\nThis is a tool for people who want to rebase specify branch (default master) automatically to all other branches.\n\n## Getting started\n\n### Install by npm\n\n```\nnpm i rebase-branches -g\n```\n\nOR\n\n### Install by clone git\n\n```\n$ git clone https://github.com/z20240/rebase-branches.git\n\n$ cd rebase-branches\n\n$ sudo npm install -g\n```\n\n### How to use?\n\nIn your project which has the `git` using the command line\n\n```\n$ rebase-branches\n```\n\nIt will automatically rebase master branch for each branch.\n\n### Args\n\n- **-h, --help** : show usage.\n- **-o, --only** : only some branches need to rebase master.\n- **-e, --except** : branches rebase master except specified branches.\n- **--set-default [branch name]** : set default rebase branch.\n- **--show-default** : show current default rebase branch.\n- **--set-except**: You can set default except target branches.\n- **--show-except**: You can show default except target branches.\n- **--show-all**: You can show all config by using this command.\n- **--remove-except**: You can remove default except target branches.\n\n**Hint: When occur conflict**\n\nPlease **resolve** the conflict yourself, and retry the `rebase-branches` again.\n\nThat's it~\n\nEnjoy your git rebase! :)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz20240%2Frebase-branches","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fz20240%2Frebase-branches","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fz20240%2Frebase-branches/lists"}