WordPress / browsehappy

101 stars 36 forks source link

Update default branch to be `trunk` #62

Open aaronjorbin opened 4 years ago

aaronjorbin commented 4 years ago

Based on https://make.wordpress.org/core/2020/06/18/proposal-update-all-git-repositories-to-use-main-instead-of-master/ The default branch should be updated to trunk.

I'm not aware of how this is deployed and if it relies on the branch name. @coffee2code Any chance you can take care of that or let me know it's all clear?

If you someone else wants to do it, the steps I've been doing are:

  1. Create trunk from master
  2. on the settings/branches page, change the default
  3. Update existing pull requests to point to trunk
  4. Delete master with git push origin --delete master
coffee2code commented 4 years ago

@aaronjorbin : Happy to make this change and will do so shortly. What specifically, if anything, has to be done for 3 (updating existing PRs to point to trunk)?