Rejecting Master for Main — John Ragozzine

  1. Replace your local master with main git branch -m master main
  2. Rename your remote master git push -u origin main
  3. Delete the remote master (You'll probably need to reset the repo's default branch on GitHub itself before remote deletion will be successful) git push origin --delete master

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alley

Alley

We are strategists, researchers, designers, and developers who craft digital experiences for publishers, nonprofit institutions, museums, and brands. alley.co