Alex Merced 1/9/2021

Git/Github - Making the Switch from Master to Main

Read Original

This technical tutorial explains the industry shift from using 'master' to 'main' as the default branch name. It provides step-by-step instructions for changing the default branch name in GitHub account settings and for configuring the local Git client (version 2.28+) to use 'main' for new repositories. The article also includes a bonus tip for adding a custom 'pushy' function to streamline Git workflows.

Git/Github - Making the Switch from Master to Main

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

1
The Beautiful Web
Jens Oliver Meiert 2 votes
2
Container queries are rad AF!
Chris Ferdinandi 2 votes
3
Wagon’s algorithm in Python
John D. Cook 1 votes