git获取远端服务器代码:
以抓取 caffe windows 版本为例。
caffe 代码网址:https://github.com/BVLC/caffe/tree/windows
caffe master分支地址:https://github.com/BVLC/caffe.git
git clone -b windows https://github.com/BVLC/caffe.git
静静地等待抓取完成,check一下readme就能发现是windows分支版本。
抓取分支命令:git clone -b 分支版本名称 git地址