{"id":15503931,"url":"https://github.com/kentcdodds/rename-gh-to-main","last_synced_at":"2025-04-23T00:06:57.160Z","repository":{"id":54629473,"uuid":"332914952","full_name":"kentcdodds/rename-gh-to-main","owner":"kentcdodds","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-07T05:20:34.000Z","size":25,"stargazers_count":67,"open_issues_count":0,"forks_count":8,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-23T00:06:51.547Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/kentcdodds.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":"2021-01-25T23:37:02.000Z","updated_at":"2023-05-25T09:27:18.000Z","dependencies_parsed_at":"2022-08-13T22:01:00.373Z","dependency_job_id":null,"html_url":"https://github.com/kentcdodds/rename-gh-to-main","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentcdodds%2Frename-gh-to-main","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentcdodds%2Frename-gh-to-main/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentcdodds%2Frename-gh-to-main/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kentcdodds%2Frename-gh-to-main/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kentcdodds","download_url":"https://codeload.github.com/kentcdodds/rename-gh-to-main/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250343935,"owners_count":21415038,"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":[],"created_at":"2024-10-02T09:15:14.527Z","updated_at":"2025-04-23T00:06:57.119Z","avatar_url":"https://github.com/kentcdodds.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rename GH default branches from \"master\" to \"main\"\n\n[Why?](https://www.theserverside.com/feature/Why-GitHub-renamed-its-master-branch-to-main)\n\nThis is a Cypress \"test\" that allows you to quickly rename all your GitHub\nrepository default branches from `master` to `main`.\n\nSteps:\n\n1. clone this repo\n2. `npm install`\n3. run `node create-repos-file.js --username={USERNAME}` with your username. This will create repos.json, which is an array of URLs to all the repos you want to rename\n4. Run `npm run cy`\n5. Run the test \"rename\"\n6. Login with your credentials and then press \"resume\"\n7. Watch it all run!\n\nWoo!\n\nWatch the live stream of this being built here:\nhttps://www.youtube.com/watch?v=xD5ArlskA1w\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentcdodds%2Frename-gh-to-main","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkentcdodds%2Frename-gh-to-main","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkentcdodds%2Frename-gh-to-main/lists"}