DEV Community


Discussion on: Replacing master with main in Github

juliang profile image
Julian Garamendy

Hi Alexis! Thank you for writing this. I've been meaning to do this but I thought it would take longer. Your post showed me the way and gave me the little push that I needed.

I have now followed your steps and changed the default branch to main in my personal website's repo.

I had to remember to change the "production branch" in my deploy settings on Netlify to avoid breaking automatic deploys.

afrodevgirl profile image
Alexis Moody Author

Good note, I'll need to do that too for one of my repos. I'm glad I could help make the process easy!

Forem Open with the Forem app