Update Master branch to Main

The Master-Slave terminology is outdated, oppressive, and honestly uninspired. Here’s how you update to the 21st century:

git branch -m master main
git push -u origin main

That’s it. That’s the post.

Happy coding.

1 thought on “Update Master branch to Main”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s