📜  将存储库分支从 master 切换到 main - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:49:59.953000             🧑  作者: Mango
代码示例1
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a