输入命令:git clone -b 分支名 git地址
例如:主线是hydro-devel,我们想下载indigo-devel版本,命令如下:
git clone -b indigo-devel https://github.com/AaronMR/Learning_ROS_for_Robotics_Programming_2nd_edition.git
————————————————
原文链接:https://blog.csdn.net/zhang168w520/article/details/79766824
网友评论