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