赞
踩
Could not determine ref type of version: fatal: 无法访问 'https://github.com/
直接把http://raw.githubusercontent.com换成raw.gitmirror(raw.githubusercontent.com的镜像网站)即可(后面的不用变)
例如获取ros2存储库文件:
vcs import --input https://raw.githubusercontent.com/ros2/ros2/foxy/ros2.repos src
更换为
vcs import --input https://raw.gitmirror.com/ros2/ros2/foxy/ros2.repos src
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。