📜  更新本地克隆并重命名分支 - Shell-Bash 代码示例

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

代码示例1
git branch -m main master   
git fetch origin
git branch -u origin/master master
git remote set-head origin -a