git拉取远程分支到本地 发表于 2017-11-28 | 分类于 版本管理 新建本地分支 1git checkout -b localName pull远程代码 1git pull origin remoteName fetch 1git fetch origin branchname:branchname 获取远程分支remoteName 到本地新分支localName,并跳到localName分支 1git checkout origin/remoteName -b localName