git拉取指定远程分支

一、直接拉取

git clone -b 远程分支名  仓库地址

二、本地已有相关仓库代码

git checkout -b 本地分支 origin/远程分支
原文地址:https://www.cnblogs.com/lwjnicole/p/12990067.html