克隆git库:
git clone xxx@188.188.1.2:/work/projects/yyy cd yyy git fetch origin
查看远程分支:
git branch -a * master remotes/origin/HEAD -> origin/master remotes/origin/master remotes/origin/branch_zzz
切换分支:
git branch --track branch_zzz origin/branch_zzz git checkout branch_zzz