DEV Community

Discussion on: Git: Renaming the "master" branch

Collapse
 
eyqs profile image
Eugene Y. Q. Shen

I made a tool that calls the GitHub API and automatically changes the default branch for all of your GitHub repositories remotely. Then all you have to do is pull the changes into your local repositories. Let me know what you think, and if you like it, please add it to your blog post! eyqs.ca/tools/rename/

Collapse
 
rhymu profile image
Rhymu

The tool you wrote is very neat! I thought about making a tool that just does the "patch" part (changing the default branch) but in the end I opted to just change them all manually since it didn't take long. However, I'm sure your tool could be handy for others, especially if there are a lot of repos to go through.

Collapse
 
eyqs profile image
Eugene Y. Q. Shen

Thank you for the kind words! Do you mind if I add your reply as a testimonial on the project page?

Thread Thread
 
rhymu profile image
Rhymu

No problem!