This is a Cypress "test" that allows you to quickly rename all your GitHub
repository default branches from master
to main
.
Steps:
npm install
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 renamenpm run cy
Woo!
Watch the live stream of this being built here: https://www.youtube.com/watch?v=xD5ArlskA1w