📜  如何从主切换到主 - 无论代码示例

📅  最后修改于: 2022-03-11 14:55:19.307000             🧑  作者: Mango

代码示例2
Steps
Step 1 – Move the master branch to 'main'
Step 2 – Push 'main' to remote repo.
Step 3 – Point HEAD to 'main' branch.
Step 4 – Change default branch to 'main' on GitHub site.
Step 5 – Delete 'master' branch on the remote repo.