# git新建仓库,本地分支由master变为main,切换? 技术发布会 2021-05-17 264 阅读1分钟 1. git新建仓库,本地分支由master变为main,切换? 点击View all branchs 点击切换为master即可。 删除main分支。