Steps to update your local branch from master to main

8 views
Skip to first unread message

Jon Foust

unread,
Jun 23, 2021, 7:50:49 AM6/23/21
to Open Match Discuss
Hey all,
In our effort to use respectable terms for the Open Match repo and documentation we have started with updating the "master" branch to "main". Here are some steps below to update your local branch name.

git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a

Please stay tuned for additional updates that will roll out with this change since we may need to update additional files to reflect the new branch name across the Open Match repos.

Best,
Jon
Reply all
Reply to author
Forward
0 new messages