用户界面上的绿色文件夹。无法向下钻取到文件夹中 [英] Green folder on the UI. Can't drill down into the folder
问题描述
更进一步,当我检查回购并切换到分支时,没有任何内容。数据是从哪里来的? 这是子模块。基本上,这是指向另一个存储库的特定提交的指针。
通常在以下(并非详尽的)情形列表中依赖子模块
- 避免代码重复
- 在特定时间点声明与另一个项目的依赖关系
- avoid duplication of code
- state the dependency with another project at a very specific point in time
通过阅读以下资源,您可以找到有关子模块的更多信息
下面是GitHub当前如何显示子模块的示例。在该名称的右侧,您会注意到此子模块引用的提交sha( 7a361e9
)的缩写形式。
Github was working. Then when I commented and I went to github UI and I looked at the repo, for one of the folders I saw a green folder and I can't click on it to drill down. How do I fix this?
Even further when I check out the repo and I switch to the branch, there is nothing there. Where did the data go?
This is a submodule. Basically, this is a pointer to a specific commit of another repository.
One would usually rely on a submodule in the following (not exhaustive) list of situations
You can find more information about submodules by reading the following resources
Below, an example of how GitHub currently display a submodule. On the right of the name, you'll notice the abbreviated form of the commit sha (7a361e9
) which is being referenced by this submodule.
这篇关于用户界面上的绿色文件夹。无法向下钻取到文件夹中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!