Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch from master to main for primary branch #161

Closed
8 tasks done
nzakas opened this issue Aug 28, 2020 · 0 comments · Fixed by #165 or GoogleForCreators/web-stories-wp#6765
Closed
8 tasks done

Switch from master to main for primary branch #161

nzakas opened this issue Aug 28, 2020 · 0 comments · Fixed by #165 or GoogleForCreators/web-stories-wp#6765
Assignees

Comments

@nzakas
Copy link
Member

nzakas commented Aug 28, 2020

  • GitHub: Merge any outstanding pull requests
  • Local: Ensure you're up-to-date locally git fetch && git reset --hard origin/master
  • Local: Push a main branch: git checkout -b main && git push origin main
  • GitHub: Under Settings -> Branches: Set the default branch to main
  • GitHub: Under Settings -> Branches: Set up branch protection for the main branch
  • GitHub: Under Settings -> Branches: Remove branch protection for master
  • Local: Delete remote master branch git push origin :master
  • Local: Delete master branch git branch -d master
btmills added a commit that referenced this issue Nov 26, 2020
The only remaining string search results for "master" are URLs to other
repositories.
@btmills btmills linked a pull request Dec 20, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants