Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Github 正在工作。然后,当我发表评论并转到 github UI 并查看存储库时,对于其中一个文件夹,我看到了一个绿色文件夹,我无法单击它进行深入研究。我该如何解决?
更进一步,当我查看 repo 并切换到分支时,那里什么都没有。数据去哪儿了?
这是一个子模块。基本上,这是指向另一个存储库的特定提交的指针。
人们通常会在以下(非详尽的)情况列表中依赖子模块
您可以通过阅读以下资源找到有关子模块的更多信息
下面是 GitHub 当前如何显示子模块的示例。在名称的右侧,您会注意到7a361e9该子模块引用的提交 sha ( ) 的缩写形式。
7a361e9