{"id":17037805,"url":"https://github.com/qiuzhifei/github-renaming","last_synced_at":"2026-05-10T19:32:23.067Z","repository":{"id":56874349,"uuid":"390260658","full_name":"QiuZhiFei/github-renaming","owner":"QiuZhiFei","description":"Renaming the default branch","archived":false,"fork":false,"pushed_at":"2021-07-28T08:38:30.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-28T20:48:47.377Z","etag":null,"topics":["github","github-renaming"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/QiuZhiFei.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-07-28T07:43:58.000Z","updated_at":"2021-07-28T08:37:58.000Z","dependencies_parsed_at":"2022-08-20T10:11:14.842Z","dependency_job_id":null,"html_url":"https://github.com/QiuZhiFei/github-renaming","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QiuZhiFei%2Fgithub-renaming","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QiuZhiFei%2Fgithub-renaming/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QiuZhiFei%2Fgithub-renaming/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QiuZhiFei%2Fgithub-renaming/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QiuZhiFei","download_url":"https://codeload.github.com/QiuZhiFei/github-renaming/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245032772,"owners_count":20550152,"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":["github","github-renaming"],"created_at":"2024-10-14T08:55:11.072Z","updated_at":"2026-05-10T19:32:23.018Z","avatar_url":"https://github.com/QiuZhiFei.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Renaming the default branch\n\nRenaming the default branch of our own repositories from master to main.\n\n## Installation\n```\ngem install github-renaming\n```\n\n## Usage\n```\ngithub-renaming default-branch \u003cold-branch\u003e \u003cnew-branch\u003e -t \u003ctoken\u003e -r \u003cuser/repo\u003e\n```\nRename master to main\n```\ngithub-renaming default-branch master main -t \u003ctoken\u003e -r \u003cuser/repo\u003e\n```\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiuzhifei%2Fgithub-renaming","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqiuzhifei%2Fgithub-renaming","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqiuzhifei%2Fgithub-renaming/lists"}