赞
踩
1、查看远程分支
git branch -r
如果没有远程分支
git fetch
2、拉取远程分支到本地
(1)一种方法
git fetch origin 远程分支名:本地分支名
eg:
git fetah origin DEVELOP:DEVELOP
(2) 第二种方法
git checkout -b 本地分支名 origin/远程分支名
eg:
git checkout -b develop origin/develop
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。