📜  git checkout remote branch in git - Shell-Bash 代码示例

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

代码示例1
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all