progit / progit2

Pro Git 2nd Edition
Other
5.79k stars 1.9k forks source link

Migrate from master to main #1669

Closed HonkingGoose closed 3 years ago

HonkingGoose commented 3 years ago

Changes

Context

Well waiting on this has been very beneficial, as GitHub does most of the hard work automatically now. šŸ˜„

Read the GitHub docs before starting: https://docs.github.com/en/github/administering-a-repository/managing-branches-in-your-repository/renaming-a-branch

Steps to migrate:

  1. Review this PR, confirm this contains all the necessary changes in script files/rakefile/action workflow files.
  2. Merge this PR.
  3. Repository maintainer uses GitHub web interface to rename the master branch to main following the steps in the GitHub docs.
  4. Done.

State of repository after merging this and renaming master -> main:

Fixes #1463.

ben commented 3 years ago

Done! Please rename your local master branches to main. Thanks!

HonkingGoose commented 3 years ago

Hooray! šŸ˜„ āœØ