【发布时间】:2022-01-26 19:23:36
【问题描述】:
我最近在我的项目 repo 中添加了 this github repo 作为子模块。我无法在我的项目 repo here 中打开 repo 的根文件夹。我查看了this 的答案,它说名称和提交哈希都应该显示为链接,但对我来说似乎并非如此。我直接将子模块repo克隆到我的项目中,所以我必须先执行git rm --cached catkin_ws/src/turtlebot3_simulations/然后执行git submodule add https://github.com/ROBOTIS-GIT/turtlebot3_simulations/tree/noetic-devel catkin_ws/src/turtlebot3_simulations/来添加子模块。这是我第一次使用子模块,我不确定我做错了什么。寻找有关我做错了什么以及解决此问题的正确方法的任何提示。谢谢!
【问题讨论】:
标签: git github git-submodules