git如何拉分支记录

刚刚工作中遇到难题了,随笔记录一下解决方案,也许对于懂得人士,感觉很easy,但是初学者也许会用到,哈哈哈……

1.先把项目clone到本地

 

2.再选择git bash here

2.1输入git branch  查看本地拉的所有分支

2.2 输入git  branch -a 远程查看项目所有分支

2.3输入 git checkout testcast 下载分支到本地

 

posted @ 2018-11-12 13:20  liuhongning  阅读(736)  评论(0)    收藏  举报