📜  master 分支重命名为 main 时的本地更新 - Shell-Bash 代码示例
📅  最后修改于: 2022-03-11 14:50:40.361000             🧑  作者: Mango
代码示例1
git branch -m master main
git fetch origin
git branch -u origin/main main
git remote set-head origin -a